Image-Text-to-Text
Transformers
Safetensors
French
English
qwen3_5
conversational
damfle commited on
Commit
fafd7c4
·
verified ·
1 Parent(s): 8447b47

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +82 -0
README.md CHANGED
@@ -1,3 +1,85 @@
1
  ---
2
  license: isc
 
 
 
 
 
 
 
 
 
3
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
  license: isc
3
+ datasets:
4
+ - damfle/private-multistral-compiled-datasets
5
+ - mlabonne/open-perfectblend
6
+ language:
7
+ - fr
8
+ - en
9
+ base_model:
10
+ - ornith-ai/Ornith-1.0-9B
11
+ library_name: transformers
12
  ---
13
+ # Ornith-9B Custom
14
+
15
+ A fine-tuned version of [Ornith-1.0-9B](https://huggingface.co/ornith-ai/Ornith-1.0-9B) by [Damien FLETY](https://huggingface.co/damfle).
16
+
17
+ ---
18
+
19
+ ## Model Details
20
+
21
+ - **Base Model**: [Ornith-1.0-9B](https://huggingface.co/ornith-ai/Ornith-1.0-9B)
22
+ - **Fine-tuned by**: [damfle](https://huggingface.co/damfle)
23
+ - **License**: Inherits the license of the base model (check [Ornith-1.0-9B](https://huggingface.co/ornith-ai/Ornith-1.0-9B) for details).
24
+ - **Quantization**: Optimized for 4-bit quantization (QAT) and FP8 training. (soon)
25
+
26
+ ---
27
+
28
+ ## Intended Use
29
+
30
+ This model is designed for:
31
+
32
+ - Efficient inference in quantized (4-bit) form. (soon)
33
+ - Integration into RAG (Retrieval-Augmented Generation) pipelines.
34
+
35
+ ---
36
+
37
+ ## Training Configuration
38
+
39
+ - **Dataset**: Custom dataset (details not specified).
40
+ - **Training Approach**:
41
+ - Quantization-Aware Training (QAT) for 4-bit inference.
42
+ - **Optimizer**: Muon optimizer (preferred for efficiency).
43
+
44
+ ---
45
+
46
+ ## Performance
47
+
48
+ - **Inference**: Optimized for low-latency, high-throughput inference in quantized form. (dspark soon)
49
+
50
+ ---
51
+
52
+ ## How to Use
53
+
54
+ ### Inference (4-bit Quantized)
55
+
56
+ ```python
57
+ from transformers import AutoModelForCausalLM, AutoTokenizer
58
+
59
+ model_name = "damfle/ornith-9b-custom"
60
+ tokenizer = AutoTokenizer.from_pretrained(model_name)
61
+ model = AutoModelForCausalLM.from_pretrained(
62
+ model_name,
63
+ device_map="auto",
64
+ load_in_4bit=True,
65
+ bnb_4bit_compute_dtype=torch.float16
66
+ )
67
+
68
+ input_text = "Your prompt here"
69
+ inputs = tokenizer(input_text, return_tensors="pt").to("cuda")
70
+ outputs = model.generate(**inputs, max_new_tokens=100)
71
+ print(tokenizer.decode(outputs[0], skip_special_tokens=True))
72
+ ```
73
+
74
+
75
+ ## Notes
76
+
77
+ - This model is part of an iterative process to merge embeddings for a transformers architecture while keeping embedding models separate for RAG.
78
+ - Future plans include scaling to a 16B QAT 4-bit model.
79
+
80
+ ---
81
+
82
+ ## Acknowledgments
83
+
84
+ - Base model: [Ornith-1.0-9B](https://huggingface.co/ornith-ai/Ornith-1.0-9B) by [Ornith AI](https://huggingface.co/ornith-ai).
85
+ - Fine-tuning and optimizations by [Damien FLETY](https://huggingface.co/damfle).