GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing huggingface.co — replit/replit-code-v1-3b · Hugging Face replit-code-v1-3bDeveloped by: Replit, Inc. 🧑💻 Test it on our Demo Space! 🧑💻 ⚙️ Fine-tuning and Instruct-tuning guides ⚙️ Model Description
The training mixture includes 20 different languages, listed here in descending order of number of tokens:
The model has been trained on the MosaicML platform with 256 x A100-40GB GPUs, leveraging their latest LLM examples repo.
Intended UseReplit intends this model be used by anyone as a foundational model for application-specific fine-tuning without strict limitations on commercial use. LimitationsThe pre-training dataset may have contained offensive or inappropriate content even after applying data cleansing filters, and such content may be reflected in model generated text. We recommend that users exercise reasonable caution when using in production systems. Do not use for any applications that may cause harm or distress to individuals or groups. LicenseThe model checkpoint and vocabulary file are licensed under the Creative Commons license (CC BY-SA-4.0). Under the license, you must give credit to Replit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests that Replit endorses you or your use. The source code files ( ContactFor questions and comments about the model, please post in the community section. How to UseFirst of all, you need to install the latest versions of the following dependencies:
You can then load the model as follows:
To use the optimized Triton implementation of FlashAttention on GPUs with BF16 precision, first install the following dependencies:
Then, move the model to
Note that TokenizerWe have trained a custom SentencePiece Unigram tokenizer optimized with a vocabulary specifically for code of 32768 tokens. Note that using this requires the The tokenizer can be used as follows:
Note that:
GenerationYou can generate code using the
Experiment with different decoding methods and parameters to get the best results for your use case. Loading with 8-bit and 4-bit quantizationLoading in 8-bitYou can also load the model in 8-bit with the First you need to install the following additional dependanices:
Then you can load the model in 8bit as follows:
The additional kwargs that make this possible are Loading in 4-bitFor loading in 4-bit, at the time of writing, support for
Then load in 4-bit with:
ReferencesPost ProcessingNote that as with all code generation models, post-processing of the generated code is important. In particular, the following post-processing steps are recommended:
Inference Providers NEW This model isn't deployed by any Inference Provider. 🙋 Ask for provider support Model tree for replit/replit-code-v1-3bDataset used to train replit/replit-code-v1-3bSpaces using replit/replit-code-v1-3b 27Papers for replit/replit-code-v1-3b Paper • 2302.06675 • Published • 2 Paper • 2211.15533 • Published • 9 Paper • 2205.14135 • Published • 17 Paper • 2108.12409 • Published • 5 Evaluation results
|
| You are visitor 01402792 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |