Run this model with HF Jobs

Run oxyapi/oxy-1-micro on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.

Paste one of these prompts into your coding agent:

Fine-tune on my dataset

Use HF Jobs and TRL to fine-tune https://huggingface.co/oxyapi/oxy-1-micro. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.

Run batch inference

Use HF Jobs to run batch inference with https://huggingface.co/oxyapi/oxy-1-micro on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.

Evaluate on a benchmark

Use HF Jobs to evaluate https://huggingface.co/oxyapi/oxy-1-micro. Ask me which benchmark to run, then save the scores and the per-example results to a new dataset repo. Run `hf jobs --help` first to learn the CLI.

Quantize for lower memory use

Use HF Jobs to create a 4-bit version of https://huggingface.co/oxyapi/oxy-1-micro. Push it to a new model repo, then reload it from there and report its memory footprint. Run `hf jobs --help` first to learn the CLI.

Oxy 1 Micro

Introduction

Oxy 1 Micro is a fine-tuned version of the Qwen2-1.5B language model, specialized for role-play scenarios. Despite its small size, it delivers impressive performance in generating engaging dialogues and interactive storytelling.

Developed by Oxygen (oxyapi), with contributions from TornadoSoftwares, Oxy 1 Micro aims to provide an accessible and efficient language model for creative and immersive role-play experiences.

Model Details

Features

  • Fine-tuned for Role-Play: Specially trained to generate dynamic and contextually rich role-play dialogues.
  • Efficient: Compact model size allows for faster inference and reduced computational resources.
  • Parameter Support:
    • temperature
    • top_p
    • top_k
    • frequency_penalty
    • presence_penalty
    • max_tokens

Metadata

  • Owned by: Oxygen (oxyapi)
  • Contributors: TornadoSoftwares
  • Description: A Qwen2-1.5B fine-tune for role-play; small model but still good.

Usage

To utilize Oxy 1 Micro for text generation in role-play scenarios, you can load the model using the Hugging Face Transformers library:

from transformers import AutoModelForCausalLM, AutoTokenizer

tokenizer = AutoTokenizer.from_pretrained("oxyapi/oxy-1-micro")
model = AutoModelForCausalLM.from_pretrained("oxyapi/oxy-1-micro")

prompt = "You are a wise old wizard in a mystical land. A traveler approaches you seeking advice."
inputs = tokenizer(prompt, return_tensors="pt")
outputs = model.generate(**inputs, max_length=500)
response = tokenizer.decode(outputs[0], skip_special_tokens=True)
print(response)

Performance

Performance benchmarks for Oxy 1 Micro are not available at this time. Future updates may include detailed evaluations on relevant datasets.

License

This model is licensed under the Apache 2.0 License.

Citation

If you find Oxy 1 Micro useful in your research or applications, please cite it as:

@misc{oxy1micro2024,
  title={Oxy 1 Micro: A Fine-Tuned Qwen2-1.5B Model for Role-Play},
  author={Oxygen (oxyapi)},
  year={2024},
  howpublished={\url{https://huggingface.co/oxyapi/oxy-1-micro}},
}
Downloads last month
47
Safetensors
Model size
2B params
Tensor type
F16
ยท
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for oxyapi/oxy-1-micro

Base model

Qwen/Qwen2-1.5B
Finetuned
(86)
this model
Quantizations
4 models

Collection including oxyapi/oxy-1-micro