munish0838 commited on
Commit
d044f67
·
verified ·
1 Parent(s): 9a3106b

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +100 -0
README.md ADDED
@@ -0,0 +1,100 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ ---
3
+
4
+ license: apache-2.0
5
+ language:
6
+ - en
7
+ pipeline_tag: text-generation
8
+ tags:
9
+ - role-play
10
+ - fine-tuned
11
+ - qwen2
12
+ base_model: Qwen/Qwen2-1.5B
13
+ library_name: transformers
14
+
15
+ ---
16
+
17
+ [![QuantFactory Banner](https://lh7-rt.googleusercontent.com/docsz/AD_4nXeiuCm7c8lEwEJuRey9kiVZsRn2W-b4pWlu3-X534V3YmVuVc2ZL-NXg2RkzSOOS2JXGHutDuyyNAUtdJI65jGTo8jT9Y99tMi4H4MqL44Uc5QKG77B0d6-JfIkZHFaUA71-RtjyYZWVIhqsNZcx8-OMaA?key=xt3VSDoCbmTY7o-cwwOFwQ)](https://hf.co/QuantFactory)
18
+
19
+
20
+ # QuantFactory/oxy-1-micro-GGUF
21
+ This is quantized version of [oxyapi/oxy-1-micro](https://huggingface.co/oxyapi/oxy-1-micro) created using llama.cpp
22
+
23
+ # Original Model Card
24
+
25
+
26
+ ![Oxy 1 Micro](https://cdn-uploads.huggingface.co/production/uploads/63c2d8376e6561b339d998b9/fX1qGkR-1BC1EV_sRkO_9.png)
27
+
28
+ ## Introduction
29
+
30
+ **Oxy 1 Micro** is a fine-tuned version of the [Qwen2-1.5B](https://huggingface.co/Qwen/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.
31
+
32
+ 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.
33
+
34
+ ## Model Details
35
+
36
+ - **Model Name**: Oxy 1 Micro
37
+ - **Model ID**: [oxyapi/oxy-1-micro](https://huggingface.co/oxyapi/oxy-1-micro)
38
+ - **Base Model**: [Qwen/Qwen2-1.5B](https://huggingface.co/Qwen/Qwen2-1.5B)
39
+ - **Model Type**: Chat Completions
40
+ - **License**: Apache-2.0
41
+ - **Language**: English
42
+ - **Tokenizer**: [Qwen/Qwen2.5-1.5B-Instruct](https://huggingface.co/Qwen/Qwen2.5-1.5B-Instruct)
43
+ - **Max Input Tokens**: 32,768
44
+ - **Max Output Tokens**: 8,192
45
+
46
+ ### Features
47
+
48
+ - **Fine-tuned for Role-Play**: Specially trained to generate dynamic and contextually rich role-play dialogues.
49
+ - **Efficient**: Compact model size allows for faster inference and reduced computational resources.
50
+ - **Parameter Support**:
51
+ - `temperature`
52
+ - `top_p`
53
+ - `top_k`
54
+ - `frequency_penalty`
55
+ - `presence_penalty`
56
+ - `max_tokens`
57
+
58
+ ### Metadata
59
+
60
+ - **Owned by**: Oxygen (oxyapi)
61
+ - **Contributors**: TornadoSoftwares
62
+ - **Description**: A Qwen2-1.5B fine-tune for role-play; small model but still good.
63
+
64
+ ## Usage
65
+
66
+ To utilize Oxy 1 Micro for text generation in role-play scenarios, you can load the model using the Hugging Face Transformers library:
67
+
68
+ ```python
69
+ from transformers import AutoModelForCausalLM, AutoTokenizer
70
+
71
+ tokenizer = AutoTokenizer.from_pretrained("oxyapi/oxy-1-micro")
72
+ model = AutoModelForCausalLM.from_pretrained("oxyapi/oxy-1-micro")
73
+
74
+ prompt = "You are a wise old wizard in a mystical land. A traveler approaches you seeking advice."
75
+ inputs = tokenizer(prompt, return_tensors="pt")
76
+ outputs = model.generate(**inputs, max_length=500)
77
+ response = tokenizer.decode(outputs[0], skip_special_tokens=True)
78
+ print(response)
79
+ ```
80
+
81
+ ## Performance
82
+
83
+ Performance benchmarks for Oxy 1 Micro are not available at this time. Future updates may include detailed evaluations on relevant datasets.
84
+
85
+ ## License
86
+
87
+ This model is licensed under the [Apache 2.0 License](https://www.apache.org/licenses/LICENSE-2.0).
88
+
89
+ ## Citation
90
+
91
+ If you find Oxy 1 Micro useful in your research or applications, please cite it as:
92
+
93
+ ```
94
+ @misc{oxy1micro2024,
95
+ title={Oxy 1 Micro: A Fine-Tuned Qwen2-1.5B Model for Role-Play},
96
+ author={Oxygen (oxyapi)},
97
+ year={2024},
98
+ howpublished={\url{https://huggingface.co/oxyapi/oxy-1-micro}},
99
+ }
100
+ ```