Instructions to use Angelectronic/llama3-ViMMRC-Answer with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use Angelectronic/llama3-ViMMRC-Answer with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("unsloth/llama-3-8b-Instruct-bnb-4bit") model = PeftModel.from_pretrained(base_model, "Angelectronic/llama3-ViMMRC-Answer") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Unsloth Studio
How to use Angelectronic/llama3-ViMMRC-Answer 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 Angelectronic/llama3-ViMMRC-Answer 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 Angelectronic/llama3-ViMMRC-Answer to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for Angelectronic/llama3-ViMMRC-Answer to start chatting
Load model with FastModel
pip install unsloth from unsloth import FastModel model, tokenizer = FastModel.from_pretrained( model_name="Angelectronic/llama3-ViMMRC-Answer", max_seq_length=2048, )
Update README.md
Browse files
README.md
CHANGED
|
@@ -19,7 +19,8 @@ should probably proofread and complete it, then remove this comment. -->
|
|
| 19 |
|
| 20 |
This model is a fine-tuned version of [unsloth/llama-3-8b-Instruct-bnb-4bit](https://huggingface.co/unsloth/llama-3-8b-Instruct-bnb-4bit) on an unknown dataset.
|
| 21 |
It achieves the following results on the evaluation set:
|
| 22 |
-
- Loss: 0.1419
|
|
|
|
| 23 |
|
| 24 |
## Model description
|
| 25 |
|
|
@@ -31,7 +32,7 @@ More information needed
|
|
| 31 |
|
| 32 |
## Training and evaluation data
|
| 33 |
|
| 34 |
-
|
| 35 |
|
| 36 |
## Training procedure
|
| 37 |
|
|
|
|
| 19 |
|
| 20 |
This model is a fine-tuned version of [unsloth/llama-3-8b-Instruct-bnb-4bit](https://huggingface.co/unsloth/llama-3-8b-Instruct-bnb-4bit) on an unknown dataset.
|
| 21 |
It achieves the following results on the evaluation set:
|
| 22 |
+
- **Loss**: 0.1419
|
| 23 |
+
- **Accuracy**: 0.885662
|
| 24 |
|
| 25 |
## Model description
|
| 26 |
|
|
|
|
| 32 |
|
| 33 |
## Training and evaluation data
|
| 34 |
|
| 35 |
+
ViMMRC train and test set
|
| 36 |
|
| 37 |
## Training procedure
|
| 38 |
|