Instructions to use SEMEVAL-11/mistral_trackb_dadosORIGINAIS3epocas4 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use SEMEVAL-11/mistral_trackb_dadosORIGINAIS3epocas4 with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("SEMEVAL-11/mistral_trackb_dadosORIGINAIS3epocas4", dtype="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Unsloth Studio
How to use SEMEVAL-11/mistral_trackb_dadosORIGINAIS3epocas4 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 SEMEVAL-11/mistral_trackb_dadosORIGINAIS3epocas4 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 SEMEVAL-11/mistral_trackb_dadosORIGINAIS3epocas4 to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for SEMEVAL-11/mistral_trackb_dadosORIGINAIS3epocas4 to start chatting
Load model with FastModel
pip install unsloth from unsloth import FastModel model, tokenizer = FastModel.from_pretrained( model_name="SEMEVAL-11/mistral_trackb_dadosORIGINAIS3epocas4", max_seq_length=2048, )
End of training
Browse files
README.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
---
|
| 2 |
-
base_model: unsloth/
|
| 3 |
library_name: transformers
|
| 4 |
-
model_name:
|
| 5 |
tags:
|
| 6 |
- generated_from_trainer
|
| 7 |
- unsloth
|
|
@@ -10,9 +10,9 @@ tags:
|
|
| 10 |
licence: license
|
| 11 |
---
|
| 12 |
|
| 13 |
-
# Model Card for
|
| 14 |
|
| 15 |
-
This model is a fine-tuned version of [unsloth/
|
| 16 |
It has been trained using [TRL](https://github.com/huggingface/trl).
|
| 17 |
|
| 18 |
## Quick start
|
|
@@ -21,7 +21,7 @@ It has been trained using [TRL](https://github.com/huggingface/trl).
|
|
| 21 |
from transformers import pipeline
|
| 22 |
|
| 23 |
question = "If you had a time machine, but could only go to the past or the future once and never return, which would you choose and why?"
|
| 24 |
-
generator = pipeline("text-generation", model="SEMEVAL-11/
|
| 25 |
output = generator([{"role": "user", "content": question}], max_new_tokens=128, return_full_text=False)[0]
|
| 26 |
print(output["generated_text"])
|
| 27 |
```
|
|
|
|
| 1 |
---
|
| 2 |
+
base_model: unsloth/mistral-7b-instruct-v0.3-bnb-4bit
|
| 3 |
library_name: transformers
|
| 4 |
+
model_name: mistral_trackb_dadosORIGINAIS3epocas4
|
| 5 |
tags:
|
| 6 |
- generated_from_trainer
|
| 7 |
- unsloth
|
|
|
|
| 10 |
licence: license
|
| 11 |
---
|
| 12 |
|
| 13 |
+
# Model Card for mistral_trackb_dadosORIGINAIS3epocas4
|
| 14 |
|
| 15 |
+
This model is a fine-tuned version of [unsloth/mistral-7b-instruct-v0.3-bnb-4bit](https://huggingface.co/unsloth/mistral-7b-instruct-v0.3-bnb-4bit).
|
| 16 |
It has been trained using [TRL](https://github.com/huggingface/trl).
|
| 17 |
|
| 18 |
## Quick start
|
|
|
|
| 21 |
from transformers import pipeline
|
| 22 |
|
| 23 |
question = "If you had a time machine, but could only go to the past or the future once and never return, which would you choose and why?"
|
| 24 |
+
generator = pipeline("text-generation", model="SEMEVAL-11/mistral_trackb_dadosORIGINAIS3epocas4", device="cuda")
|
| 25 |
output = generator([{"role": "user", "content": question}], max_new_tokens=128, return_full_text=False)[0]
|
| 26 |
print(output["generated_text"])
|
| 27 |
```
|