Download samples.json from Raymond1938-4/code-sprout-30m: direct link, hf CLI and curl.
- Browser
- Download file 1.1 kB
-
https://huggingface.co/Raymond1938-4/code-sprout-30m/resolve/main/samples.json
- Command line
-
hf download hf://Raymond1938-4/code-sprout-30m/samples.json
-
curl -L -o samples.json https://huggingface.co/Raymond1938-4/code-sprout-30m/resolve/main/samples.json
1.1 kB
| { | |
| "sampling": "Greedy; completion wrapper normalizes trailing prefix whitespace. Generated code is unedited.", | |
| "examples": [ | |
| { | |
| "language": "python", | |
| "prefix": "def add(a, b):\n", | |
| "continuation": " return a + b\n\n" | |
| }, | |
| { | |
| "language": "javascript", | |
| "prefix": "function add(a, b) {\n", | |
| "continuation": " return a + b;\n}\n\n" | |
| }, | |
| { | |
| "language": "typescript", | |
| "prefix": "function add(a: number, b: number): number {\n", | |
| "continuation": " return a + b;\n}\n\n" | |
| }, | |
| { | |
| "language": "html", | |
| "prefix": "<!DOCTYPE html>\n<html lang=\"en\">\n<head>\n", | |
| "continuation": " <meta charset=\"utf-8\">\n <meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">\n <title>Gallery 38</title>\n</head>\n<body>\n <main>\n <form action=\"/submit\" method=\"post\">\n <label for=\"name\">Name</label>\n <input id=\"name\" name=\"name\" type=\"text\" required>\n <button type=\"submit\">Send</button>\n </form>\n </main>\n</body>\n</html>\n\n" | |
| } | |
| ] | |
| } |