mirror of
https://github.com/hanzoai/engine.git
synced 2026-11-20 14:17:52 +00:00
6 lines
142 B
Python
6 lines
142 B
Python
from transformers import AutoTokenizer
|
|
|
|
model = input("Enter model ID: ")
|
|
tok = AutoTokenizer.from_pretrained(model)
|
|
tok.save_pretrained(".")
|