Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
Kaaaaaaa
/
bili
like
1
Sleeping
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
d40d8d1
bili
/
app.py
Kaaaaaaa
Update app.py
d40d8d1
verified
10 months ago
raw
Copy download link
history
blame
Safe
170 Bytes
# Load model directly
from
transformers
import
AutoModelForCausalLM
model = AutoModelForCausalLM.from_pretrained(
"IndexTeam/Index-1.9B-Character"
, trust_remote_code=
True
)