Instructions to use SecurityXuanwuLab/HaS-820m with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use SecurityXuanwuLab/HaS-820m with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("SecurityXuanwuLab/HaS-820m") model = AutoModelForCausalLM.from_pretrained("SecurityXuanwuLab/HaS-820m", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Adding `safetensors` variant of this model
Verified signatureThis 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.463bba2
-
Update README.md
1625dd4 -
Update README.md
1647d40 -
Update README.md
16da52b -
Update README.md
f5810b5 -
Update hideAndSeek.py
05c0902 -
Upload hideAndSeek.py
3aaecca -
Update README.md
869130c -
Update README.md
05daa9b -
Update README.md
acf1b3f -
Update README.md
a3e1b56 -
Update README.md
6dcdee8 -
Update README.md
3c70ac7 -
Update README.md
3cd2bf1 -
Update README.md
c5d7775 -
Update README.md
a2a4e1d -
Update README.md
b6f0515 -
Update README.md
013441f -
Update README.md
934f60d -
Update README.md
f5ec345 -
Update README.md
b98ddb3 -
Update README.md
2c4fe90 -
Update README.md
39501ee -
Update README.md
406de01 -
Update README.md
96f14dd -
Update README.md
372159d -
Update README.md
ebc00de -
Update README.md
850d924 -
Update README.md
d5b3564 -
Upload 2 files
14b1852 -
Update README.md
00759bf -
Update README.md
aa8b545 -
Update README.md
acda9e3 -
Update README.md
75fe452 -
Update README.md
3c5a249 -
Update README.md
fc2bd86 -
Update README.md
299096b -
Update README.md
dbd31fc -
Update README.md
2254403 -
Update README.md
078bd10 -
Update README.md
952e589 -
Update README.md
e49b324
-
Update README.md
8a2648b -
Update README.md
ac31012 -
Update README.md
2dd1672 -
Update README.md
e4f6d6a
-
Upload 6 files
18b6846 -
initial commit
d2d74b6