Instructions to use mhhmm/typescript-instruct-20k-v4 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use mhhmm/typescript-instruct-20k-v4 with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("codellama/CodeLlama-13b-Instruct-hf") model = PeftModel.from_pretrained(base_model, "mhhmm/typescript-instruct-20k-v4") - Notebooks
- Google Colab
- Kaggle
Adding `safetensors` variant of this model
Browse filesThis is an automated PR created with https://huggingface.co/spaces/safetensors/convert
This new file is equivalent to `pytorch_model.bin` but safe in the sense that
no arbitrary code can be put into it.
These files also happen to load much faster than their pytorch counterpart:
https://colab.research.google.com/github/huggingface/notebooks/blob/main/safetensors_doc/en/speed.ipynb
The widgets on your model page will run using this model even if this is not merged
making sure the file actually works.
If you find any issues: please report here: https://huggingface.co/spaces/safetensors/convert/discussions
Feel free to ignore this PR.
pytorch_model-00001-of-00006.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ada31a35954d570128a2859bec5392b2db02d02a9c557ed741b64ca8dd8f4ecd
|
| 3 |
+
size 4978429640
|
pytorch_model-00002-of-00006.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ff62b940bb6a6d57532a5c44853420ff9241e6ec9a50d1e8dc9a26e2d8e3e1f6
|
| 3 |
+
size 4970422232
|
pytorch_model-00003-of-00006.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ebb7f9458226b06788338ac5301c1a603a19a8d342956ef4de03b324a97846a0
|
| 3 |
+
size 4970422256
|
pytorch_model-00004-of-00006.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1ce38111730cfe11c7f3b9bfc4719c010fd9bcb73c5ea16f226bb926ef00324f
|
| 3 |
+
size 4933701504
|
pytorch_model-00005-of-00006.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7f712b33840886ba62940720f47918ff7814c22dcc9151f847e4ac869b82c862
|
| 3 |
+
size 4933722216
|
pytorch_model-00006-of-00006.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0c6249602a23d0cd62464c7300b2416475d87dc1e64aa561759a9adb4fc9805e
|
| 3 |
+
size 1245400760
|