Instructions to use DataIntelligenceTeam/llama_3_8b_4bitQ with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use DataIntelligenceTeam/llama_3_8b_4bitQ with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("DataIntelligenceTeam/llama_3_8b_4bitQ", dtype="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps
- Unsloth Studio new
How to use DataIntelligenceTeam/llama_3_8b_4bitQ with Unsloth Studio:
Install Unsloth Studio (macOS, Linux, WSL)
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for DataIntelligenceTeam/llama_3_8b_4bitQ to start chatting
Install Unsloth Studio (Windows)
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for DataIntelligenceTeam/llama_3_8b_4bitQ to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for DataIntelligenceTeam/llama_3_8b_4bitQ to start chatting
Load model with FastModel
pip install unsloth from unsloth import FastModel model, tokenizer = FastModel.from_pretrained( model_name="DataIntelligenceTeam/llama_3_8b_4bitQ", max_seq_length=2048, )
Update README.md
Browse files
README.md
CHANGED
|
@@ -20,3 +20,20 @@ base_model: unsloth/llama-3-8b-bnb-4bit
|
|
| 20 |
This llama model was trained 2x faster with [Unsloth](https://github.com/unslothai/unsloth) and Huggingface's TRL library.
|
| 21 |
|
| 22 |
[<img src="https://raw.githubusercontent.com/unslothai/unsloth/main/images/unsloth%20made%20with%20love.png" width="200"/>](https://github.com/unslothai/unsloth)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 20 |
This llama model was trained 2x faster with [Unsloth](https://github.com/unslothai/unsloth) and Huggingface's TRL library.
|
| 21 |
|
| 22 |
[<img src="https://raw.githubusercontent.com/unslothai/unsloth/main/images/unsloth%20made%20with%20love.png" width="200"/>](https://github.com/unslothai/unsloth)
|
| 23 |
+
|
| 24 |
+
|
| 25 |
+
|
| 26 |
+
# Results
|
| 27 |
+
|
| 28 |
+
| Step | Training Loss |
|
| 29 |
+
|------|---------------|
|
| 30 |
+
| 5 | 1.748100 |
|
| 31 |
+
| 10 | 1.584900 |
|
| 32 |
+
| 15 | 1.406200 |
|
| 33 |
+
| 20 | 1.274800 |
|
| 34 |
+
| 25 | 0.983400 |
|
| 35 |
+
| 30 | 0.939900 |
|
| 36 |
+
| 35 | 1.156100 |
|
| 37 |
+
| 40 | 0.883000 |
|
| 38 |
+
| 45 | 0.813900 |
|
| 39 |
+
| 50 | 0.721000 |
|