Instructions to use ShengbinYue/DISC-LawLLM with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ShengbinYue/DISC-LawLLM with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="ShengbinYue/DISC-LawLLM", trust_remote_code=True)# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("ShengbinYue/DISC-LawLLM", trust_remote_code=True, dtype="auto") - Notebooks
- Google Colab
- Kaggle
考虑不考虑把模型写成ollama可部署的格式
#10 opened over 1 year ago
by
taitaozi
Adding `safetensors` variant of this model
#9 opened over 1 year ago
by
SFconvertbot
Adding `safetensors` variant of this model
#8 opened over 1 year ago
by
SFconvertbot
一直加载不出回答
#6 opened about 2 years ago
by
Elizaaaaaaa
这个数据集怎么下载哇
#5 opened over 2 years ago
by
ponajascal
'BaichuanTokenizer' object has no attribute 'sp_model'
1
#4 opened over 2 years ago
by
pewyork
Does gguf version can be provided?
#3 opened over 2 years ago
by
pewyork
how great !
#1 opened over 2 years ago
by
LycheeX