rethinking-demonstrations's People
Forkers
zhihongshao bbsngg vivharsha codeaudit tristesseblue mk322 wangjunxiao yz26cn raymondzmc youliangyuanxu richardkelley techthiyanes apollohuang1 xinxichen stjordanisrethinking-demonstrations's Issues
No test.py here
There is no test.py
Out-of-memory
I tested the following code on Google Colab with an A100 (40G) but got out of memory, may I ask for how many memory does the following code needs?
!python test.py --gpt2 channel-metaicl --method direct --out_dir out/gpt2-large --do_zeroshot --use_demonstrations --k 16 --seed 100,13,21,42,87 --dataset glue-wnli_random
How to use the fairseq 13B model?
Hi! I want to use the fairseq 13B model disscussed in your paper. Could you tell me what should I do?
test.py File is Not Found
Hello,
I am not able to find test.py file in the main branch of GitHub.
where is test.py mentioned in README?
Error in test.py file while running with demonstrations
I correctly set up the environment and it's running for zero_shot.
But, I am running the following command:
python test.py --dataset tweet_eval-hate --gpt2 gpt2-large --method direct --out_dir out/gpt2-large --use_demonstrations --k 16 --seed 100,13,21,42,87
However, I am getting this error:
10/19/2022 15:15:53 - INFO - __main__ - Namespace(checkpoint=None, dataset='tweet_eval-hate', do_zeroshot=False, global_step=None, gpt2='gpt2-large', is_null=False, k=16, log_file=None, method='direct', out_dir='out/gpt2-large', seed='100,13,21,42,87', split='test', task=None, test_batch_size=64, unseen_domain_only=False, use_calibration=False, use_demonstrations=True, use_random_english_words=False)
Traceback (most recent call last):
File "test.py", line 274, in <module>
main(logger, args)
File "test.py", line 44, in main
assert args.global_step is not None
AssertionError
Can you please help me with this error?
UnboundLocalError: local variable 'new_dataset_dir' referenced before assignment
I got the following message after running the code to generate random labels:
python create_data.py --variant random --dataset commonsense_qa
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.