How to use from the
Use from the
Transformers library
# Use a pipeline as a high-level helper
from transformers import pipeline

pipe = pipeline("feature-extraction", model="bupt/keywords_extract", trust_remote_code=True)
# Load model directly
from transformers import AutoModel
model = AutoModel.from_pretrained("bupt/keywords_extract", trust_remote_code=True, dtype="auto")
Quick Links

利用chatgpt3.5-turbo制作的法律关键词数据集,在chatglm2-6b基模型上通过LoRA微调,得到一个可以理解法律咨询问题,并且提取法律相关关键词的模型。

Downloads last month
12
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support