Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

How to arrange the file ‘models’???

Abierto
#58 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
2/5
Tiempo estimado
1-3 horas
Aptitud para principiantes
30/100
Tipo de issue
Error
Claridad
Necesita aclaración
Estado de actividad
Estancado
Stack tecnológico
python

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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'??

Lenguaje dominante
Python
Estrellas
576
Forks
69
Métricas de merge de PR
Sin PR fusionados en 30 d

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de salesforce/CodeRL

Todos los issues de salesforce/CodeRL

Issues similares

Más issues de Python

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.