OpenPrompt icon indicating copy to clipboard operation
OpenPrompt copied to clipboard

An Open-Source Framework for Prompt-Learning.

Results 108 OpenPrompt issues
Sort by recently updated
recently updated
newest added

This PR is used to fix issue #281 which is a simple comment error

Please provide relevant data sets for tutorial examples. Most of the project download scripts cannot be used. Thanks!

THERE WAS AN ISSUE WHERE "'C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\VC\\Tools\\MSVC\\14.38.33130\\bin\\HostX86\\x64\\cl.exe' failed with exit code 2" sentencepiece IN VERSION 0.1.98 FIXED IT.

1. tutorial中的model应使用T5ForConditionalGeneration,而不是MT5ForConditionalGeneration 2. 在验证集上准确率为25%,相当于随机生成(因为数据是4选1选择题),想问一下6.1_chinese_dataset_uer_t5.py是否有问题?

I am trying tutorial 4.1_all_tasks_are_generation, the training run for a while, then it stopped because of the following errors, any ideas how to solve this? Train: 2%|███▋ | 500/20000 [11:36

多分类使用时数据量大,无法一次性加载所有数据到内存中,能实现使用生成器模式的功能吗

for _ in train_iterator: local_steps = 0 # update step tr_loss = 0.0 epoch_iterator = tqdm(train_dataloader, desc="Iteration", disable=False) step = 0 # backward step total_log_loss = 0 model.train() for step,...

Recently, im trying to instruct tuning by LLaMa2 under my domain, and no idea about how to write Prompt . So I would like to try to using OpenPrompt ,...

Hi, I'm using the `ag_news` dataset available from huggingface. I was trying to train the classifier with the Trainer class of the transformers library using the following code: ```python training_args...

在尝试用SoftTemplate+deberta模型做分类任务的时候,发现貌似两者并不兼容,请问有没有研究者在SoftTemplate使用过deberta模型