Instructions to use ericjuliantooo/lora_model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ericjuliantooo/lora_model with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("ericjuliantooo/lora_model", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Unsloth Studio
How to use ericjuliantooo/lora_model 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 ericjuliantooo/lora_model 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 ericjuliantooo/lora_model to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for ericjuliantooo/lora_model to start chatting
Load model with FastModel
pip install unsloth from unsloth import FastModel model, tokenizer = FastModel.from_pretrained( model_name="ericjuliantooo/lora_model", max_seq_length=2048, )
Update README.md
#1
by dwir - opened
README.md
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
---
|
| 2 |
-
base_model: unsloth/
|
| 3 |
language:
|
| 4 |
- en
|
| 5 |
license: apache-2.0
|
|
@@ -7,15 +7,15 @@ tags:
|
|
| 7 |
- text-generation-inference
|
| 8 |
- transformers
|
| 9 |
- unsloth
|
| 10 |
-
-
|
| 11 |
- trl
|
| 12 |
---
|
| 13 |
|
| 14 |
# Uploaded model
|
| 15 |
|
| 16 |
-
- **Developed by:**
|
| 17 |
- **License:** apache-2.0
|
| 18 |
-
- **Finetuned from model :** unsloth/
|
| 19 |
|
| 20 |
This llama model was trained 2x faster with [Unsloth](https://github.com/unslothai/unsloth) and Huggingface's TRL library.
|
| 21 |
|
|
|
|
| 1 |
---
|
| 2 |
+
base_model: unsloth/gemma-2b-bnb-4bit
|
| 3 |
language:
|
| 4 |
- en
|
| 5 |
license: apache-2.0
|
|
|
|
| 7 |
- text-generation-inference
|
| 8 |
- transformers
|
| 9 |
- unsloth
|
| 10 |
+
- gemma
|
| 11 |
- trl
|
| 12 |
---
|
| 13 |
|
| 14 |
# Uploaded model
|
| 15 |
|
| 16 |
+
- **Developed by:** dwirz
|
| 17 |
- **License:** apache-2.0
|
| 18 |
+
- **Finetuned from model :** unsloth/gemma-2b-bnb-4bit
|
| 19 |
|
| 20 |
This llama model was trained 2x faster with [Unsloth](https://github.com/unslothai/unsloth) and Huggingface's TRL library.
|
| 21 |
|