Instructions to use mor40/BulGPT-2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use mor40/BulGPT-2 with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("mor40/BulGPT-2", dtype="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps
- Unsloth Studio new
How to use mor40/BulGPT-2 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 mor40/BulGPT-2 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 mor40/BulGPT-2 to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for mor40/BulGPT-2 to start chatting
Load model with FastModel
pip install unsloth from unsloth import FastModel model, tokenizer = FastModel.from_pretrained( model_name="mor40/BulGPT-2", max_seq_length=2048, )
Training in progress, step 50
Browse files
adapter_config.json
CHANGED
|
@@ -25,8 +25,8 @@
|
|
| 25 |
"revision": null,
|
| 26 |
"target_modules": [
|
| 27 |
"c_fc",
|
| 28 |
-
"c_attn",
|
| 29 |
"c_proj",
|
|
|
|
| 30 |
"lm_head"
|
| 31 |
],
|
| 32 |
"task_type": "CAUSAL_LM",
|
|
|
|
| 25 |
"revision": null,
|
| 26 |
"target_modules": [
|
| 27 |
"c_fc",
|
|
|
|
| 28 |
"c_proj",
|
| 29 |
+
"c_attn",
|
| 30 |
"lm_head"
|
| 31 |
],
|
| 32 |
"task_type": "CAUSAL_LM",
|
adapter_model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:67781fe08a2824a6cb7134ffb61394394161ddce1d1f8b8eccad3831ccfcad28
|
| 3 |
+
size 178829840
|
runs/Apr30_18-44-59_72d659378801/events.out.tfevents.1746039321.72d659378801.215.0
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b0b3ecb75f31b969da398d723a86c9bab6fe51e25fa9c6edbd1ea5aee301b208
|
| 3 |
+
size 15978
|
training_args.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3aa3619970ff518d3aa3b0a18b2c643a85a5927eb1d141263a756fc9c5a2768f
|
| 3 |
+
size 6033
|