Skip to content

Commit 7c10045

Browse files
mishig25osanseviero
authored andcommitted
[Code LLama] add section on vscode extension (huggingface#1429)
* [Code LLama] add section on vscode extension * Update codellama.md Co-authored-by: Omar Sanseviero <[email protected]> * Update codellama.md --------- Co-authored-by: Omar Sanseviero <[email protected]>
1 parent 9b7bbdf commit 7c10045

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

assets/160_codellama/vscode.png

60.8 KB
Loading

codellama.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ Today, we’re excited to release:
2727
- Transformers integration
2828
- Integration with Text Generation Inference for fast and efficient production-ready inference
2929
- Integration with Inference Endpoints
30+
- Integration with VS Code extension
3031
- Code benchmarks
3132

3233
Code LLMs are an exciting development for software engineers because they can boost productivity through code completion in IDEs, take care of repetitive or annoying tasks like writing docstrings, or create unit tests.
@@ -45,6 +46,7 @@ Code LLMs are an exciting development for software engineers because they can bo
4546
- [Conversational Instructions](#conversational-instructions)
4647
- [4-bit Loading](#4-bit-loading)
4748
- [Using text-generation-inference and Inference Endpoints](#using-text-generation-inference-and-inference-endpoints)
49+
- [Using VS Code extension](#using-vs-code-extension)
4850
- [Evaluation](#evaluation)
4951
- [Additional Resources](#additional-resources)
5052

@@ -317,6 +319,12 @@ You can try out Text Generation Inference on your own infrastructure, or you can
317319

318320
You can learn more on how to [Deploy LLMs with Hugging Face Inference Endpoints in our blog](https://huggingface.co/blog/inference-endpoints-llm). The [blog](https://huggingface.co/blog/inference-endpoints-llm) includes information about supported hyperparameters and how to stream your response using Python and Javascript.
319321

322+
### Using VS Code extension
323+
324+
[HF Code Autocomplete](https://marketplace.visualstudio.com/items?itemName=HuggingFace.huggingface-vscode) is a VS Code extension for testing open source code completion models. The extension was developed as part of [StarCoder project](/blog/starcoder#tools--demos) and was updated to support the medium-sized base model, [Code Llama 13B](/codellama/CodeLlama-13b-hf). Find more [here](https://github.com/huggingface/huggingface-vscode#code-llama) on how to install and run the extension with Code Llama.
325+
326+
![VS Code extension](https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/blog/160_codellama/vscode.png "VS Code extension")
327+
320328
## Evaluation
321329

322330
Language models for code are typically benchmarked on datatsets such as HumanEval. It consists of programming challenges where the model is presented with a function signature and a docstring and is tasked to complete the function body. The proposed solution is then verified by running a set of predefined unit tests. Finally, a pass rate is reported which describes how many solutions passed all tests. The pass@1 rate describes how often the model generates a passing solution when having one shot whereas pass@10 describes how often at least one solution passes out of 10 proposed candidates.

0 commit comments

Comments
 (0)