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

pipe = pipeline("text-generation", model="qgyd2021/few_shot_ner")
# Load model directly
from transformers import AutoTokenizer, AutoModelForCausalLM

tokenizer = AutoTokenizer.from_pretrained("qgyd2021/few_shot_ner")
model = AutoModelForCausalLM.from_pretrained("qgyd2021/few_shot_ner")
Quick Links

few_shot_ner

此模型是基于 uer/gpt2-chinese-cluecorpussmall 在数据集 qgyd2021/few_shot_ner_sft 上训练的.

可以在此处 qgyd2021/gpt2_chat 体验.

基于此模型或数据集, 你可以:

(1)小样本或零样本的实体识别.

(2)用于实体识别数据集的辅助构建. 即当你在自己的数据集上进行了部分数据标注后, 可以与此数据集混合并训练模型, 之后用于数据自动标注/辅助标注.

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

Dataset used to train qgyd2021/few_shot_ner