Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

How to arrange the file ‘models’???

Aperta
#58 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
2/5
Tempo stimato
1-3 ore
Idoneità per principianti
30/100
Tipo di issue
Bug
Chiarezza
Da chiarire
Stato di attività
Ferma
Stack tecnologico
python

Direzione di ricerca

Start with README and generate.sh, then inspect the tokenizer.from_pretrained call shown in the issue and how args.tokenizer_path is passed. Verify the expected model-directory layout and cache path; done when generate.sh can locate Salesforce/codet5-base without the connection error.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

I have downloaded all the models mentioned in the README, and for one model, I've created a special folder for it, like "CodeT5-large/". But when I run the script 'generate.sh', I received the “ValueError: Connection error, and we cannot find the requested files in the cached path. Please try again or make sure your Internet connection is on.” for this line:
tokenizer = RobertaTokenizer.from_pretrained('Salesforce/codet5-base', cache_dir=args.tokenizer_path)

Is there anyone can teach me how to arrange the models in the folder 'models'??

Lingua principale
Python
Stelle
576
Fork
69
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di salesforce/CodeRL

Tutte le issue di salesforce/CodeRL

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.