QuantFactory / AlchemistCoder-L-7B-GGUF

huggingface.co
Total runs: 626
24-hour runs: 21
7-day runs: 88
30-day runs: 340
Model's Last Updated: May 30 2024
text-generation

Introduction of AlchemistCoder-L-7B-GGUF

Model Details of AlchemistCoder-L-7B-GGUF

QuantFactory/AlchemistCoder-L-7B-GGUF

This is quantized version of internlm/AlchemistCoder-L-7B created using llama.cpp

Model Description: AlchemistCoder

[ 📃 Paper ] [ 🌐 Project Page ]

✨ Highlights

Abstract: Open-source Large Language Models (LLMs) and their specialized variants, particularly Code LLMs, have recently delivered impressive performance. However, previous Code LLMs are typically fine-tuned on single-source data with limited quality and diversity, which may insufficiently elicit the potential of pre-trained Code LLMs. In this paper, we present AlchemistCoder, a series of Code LLMs with enhanced code generation and generalization capabilities fine-tuned on multi-source data. To achieve this, we pioneer to unveil inherent conflicts among the various styles and qualities in multi-source code corpora and introduce data-specific prompts with hindsight relabeling, termed AlchemistPrompts, to harmonize different data sources and instruction-response pairs. Additionally, we propose incorporating the data construction process into the fine-tuning data as code comprehension tasks, including instruction evolution, data filtering, and code review. Extensive experiments demonstrate that AlchemistCoder holds a clear lead among all models of the same size (6.7B/7B) and rivals or even surpasses larger models (15B/33B/70B), showcasing the efficacy of our method in refining instruction-following capabilities and advancing the boundaries of code intelligence.

  • AlchemistPrompts : Designed as data-specific prompts for harmonizing inherent conflicts in multi-source data and mitigating the instruction/response misalignment at a fined-grained level.
  • Code Comprehenstion Tasks : Sourced from the process of data construction, consisting of instruction evolution, data filtering, and code review.
  • Harmonized Multi-source Data : Instruction tuned on 200M tokens, including 6 types of high-quality data.
  • Superior Model Performance : Surpassing all the open-source models of the same size (6.7/7B), and rivaling or even beating larger models (15B/33B/70B/ChatGPT) on 6 code benchmarks.
  • Advanced generic capabilities : Demonstrated by the significant improvements on MMLU, BBH, and GSM8K.
🚀 Quick Start
import torch
from transformers import AutoModelForCausalLM, AutoTokenizer

tokenizer = AutoTokenizer.from_pretrained("internlm/AlchemistCoder-L-7B", trust_remote_code=True)
model = AutoModelForCausalLM.from_pretrained("internlm/AlchemistCoder-L-7B", trust_remote_code=True, torch_dtype=torch.bfloat16).cuda()
model = model.eval()

input_text = "Implement the Dijkstra algorithm in Python"
inputs = tokenizer(input_text, return_tensors="pt").to(model.device)
outputs = model.generate(**inputs, max_length=128)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))
🧪 Evaluation and Fine-tune

Please refer to AlchemistCoder and InternLM .

😃 Acknowledgments

AlchemistCoder is built with InternLM and OpenCompass . Thanks for their awesome work!

Runs of QuantFactory AlchemistCoder-L-7B-GGUF on huggingface.co

626
Total runs
21
24-hour runs
87
3-day runs
88
7-day runs
340
30-day runs

More Information About AlchemistCoder-L-7B-GGUF huggingface.co Model

More AlchemistCoder-L-7B-GGUF license Visit here:

https://choosealicense.com/licenses/apache-2.0

AlchemistCoder-L-7B-GGUF huggingface.co

AlchemistCoder-L-7B-GGUF huggingface.co is an AI model on huggingface.co that provides AlchemistCoder-L-7B-GGUF's model effect (), which can be used instantly with this QuantFactory AlchemistCoder-L-7B-GGUF model. huggingface.co supports a free trial of the AlchemistCoder-L-7B-GGUF model, and also provides paid use of the AlchemistCoder-L-7B-GGUF. Support call AlchemistCoder-L-7B-GGUF model through api, including Node.js, Python, http.

AlchemistCoder-L-7B-GGUF huggingface.co Url

https://huggingface.co/QuantFactory/AlchemistCoder-L-7B-GGUF

QuantFactory AlchemistCoder-L-7B-GGUF online free

AlchemistCoder-L-7B-GGUF huggingface.co is an online trial and call api platform, which integrates AlchemistCoder-L-7B-GGUF's modeling effects, including api services, and provides a free online trial of AlchemistCoder-L-7B-GGUF, you can try AlchemistCoder-L-7B-GGUF online for free by clicking the link below.

QuantFactory AlchemistCoder-L-7B-GGUF online free url in huggingface.co:

https://huggingface.co/QuantFactory/AlchemistCoder-L-7B-GGUF

AlchemistCoder-L-7B-GGUF install

AlchemistCoder-L-7B-GGUF is an open source model from GitHub that offers a free installation service, and any user can find AlchemistCoder-L-7B-GGUF on GitHub to install. At the same time, huggingface.co provides the effect of AlchemistCoder-L-7B-GGUF install, users can directly use AlchemistCoder-L-7B-GGUF installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

AlchemistCoder-L-7B-GGUF install url in huggingface.co:

https://huggingface.co/QuantFactory/AlchemistCoder-L-7B-GGUF

Url of AlchemistCoder-L-7B-GGUF

AlchemistCoder-L-7B-GGUF huggingface.co Url

Provider of AlchemistCoder-L-7B-GGUF huggingface.co

QuantFactory
ORGANIZATIONS

Other API from QuantFactory