Spaces:
Runtime error
Runtime error
Spacing update.
Browse files
app.py
CHANGED
@@ -3,8 +3,8 @@ from transformers import AutoTokenizer, AutoModelForCausalLM, set_seed, pipeline
|
|
3 |
|
4 |
|
5 |
title = "🎅 Santa Explains Code"
|
6 |
-
description = "This space converts Python code into English text that explains its function using [SantaCoder-Code-To-Text](https://huggingface.co/loubnabnl/santacoder-code-to-text)
|
7 |
-
a code generation model that was fine-tuned on the [github-jupyter-code-to-text](https://huggingface.co/datasets/codeparrot/github-jupyter-code-to-text) dataset
|
8 |
This dataset includes Python code accompanied by docstrings that explain it. The data was sourced from Jupyter notebooks.\n\n\
|
9 |
Limitations: The model was fine-tuned on a small dataset from Jupyter Notebooks, so it can only explain simple, \
|
10 |
common functions that are found in these notebooks, in a similar fashion to the text in markdown cells. It might also be sensitive to function names and comments."
|
|
|
3 |
|
4 |
|
5 |
title = "🎅 Santa Explains Code"
|
6 |
+
description = "This space converts Python code into English text that explains its function using [SantaCoder-Code-To-Text](https://huggingface.co/loubnabnl/santacoder-code-to-text), \
|
7 |
+
a code generation model that was fine-tuned on the [github-jupyter-code-to-text](https://huggingface.co/datasets/codeparrot/github-jupyter-code-to-text) dataset. \
|
8 |
This dataset includes Python code accompanied by docstrings that explain it. The data was sourced from Jupyter notebooks.\n\n\
|
9 |
Limitations: The model was fine-tuned on a small dataset from Jupyter Notebooks, so it can only explain simple, \
|
10 |
common functions that are found in these notebooks, in a similar fashion to the text in markdown cells. It might also be sensitive to function names and comments."
|