AventIQ-AI / Code-Generation-Multi-Model

huggingface.co
Total runs: 5
24-hour runs: 1
7-day runs: -1
30-day runs: -3
Model's Last Updated: July 15 2025

Introduction of Code-Generation-Multi-Model

Model Details of Code-Generation-Multi-Model

🧠 Code Generation Model – Fine-Tuned Salesforce/codegen-350M-multi

This repository contains a fine-tuned version of the Salesforce/codegen-350M-multi model. It generates code snippets based on natural language or function signature prompts.


📦 Base Model
  • Model : Salesforce/codegen-350M-multi
  • Architecture : Causal LM (Decoder-only Transformer)
  • Parameters : ~350M
  • Supports : Python, JavaScript, Java, and more
  • Quantized : ✅ FP16 using bitsandbytes (optional)

📚 Dataset
Dataset: code_x_glue_cc_code_to_text
  • Source : Hugging Face Datasets
  • Description : Dataset of code snippets (in Python) and corresponding natural language docstrings.
from datasets import load_dataset

dataset = load_dataset("code_x_glue_cc_code_to_text", "python")

📊 Evaluation (Scoring)

Metric: BLEU or CodeBLEU (you can also use exact match, ROUGE, etc.)


from datasets import load_metric

bleu = load_metric("bleu")
bleu_score = bleu.compute(predictions=["generated_code"], references=["reference_code"])
print("BLEU Score:", bleu_score)

📁 Folder Structure

finetuned_codegen_350M/ ├── config.json ├── pytorch_model.bin ├── tokenizer_config.json ├── tokenizer.json ├── special_tokens_map.json ├── vocab.json ├── merges.txt ├── training_args.bin └── README.md

💬 Inference Example


from transformers import pipeline

pipe = pipeline("text-generation", model="./finetuned_codegen_350M", device=0)

prompt = "def is_prime(n):"
result = pipe(prompt, max_length=100, do_sample=True)
print(result[0]["generated_text"])

Runs of AventIQ-AI Code-Generation-Multi-Model on huggingface.co

5
Total runs
1
24-hour runs
1
3-day runs
-1
7-day runs
-3
30-day runs

More Information About Code-Generation-Multi-Model huggingface.co Model

Code-Generation-Multi-Model huggingface.co

Code-Generation-Multi-Model huggingface.co is an AI model on huggingface.co that provides Code-Generation-Multi-Model's model effect (), which can be used instantly with this AventIQ-AI Code-Generation-Multi-Model model. huggingface.co supports a free trial of the Code-Generation-Multi-Model model, and also provides paid use of the Code-Generation-Multi-Model. Support call Code-Generation-Multi-Model model through api, including Node.js, Python, http.

Code-Generation-Multi-Model huggingface.co Url

https://huggingface.co/AventIQ-AI/Code-Generation-Multi-Model

AventIQ-AI Code-Generation-Multi-Model online free

Code-Generation-Multi-Model huggingface.co is an online trial and call api platform, which integrates Code-Generation-Multi-Model's modeling effects, including api services, and provides a free online trial of Code-Generation-Multi-Model, you can try Code-Generation-Multi-Model online for free by clicking the link below.

AventIQ-AI Code-Generation-Multi-Model online free url in huggingface.co:

https://huggingface.co/AventIQ-AI/Code-Generation-Multi-Model

Code-Generation-Multi-Model install

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

Code-Generation-Multi-Model install url in huggingface.co:

https://huggingface.co/AventIQ-AI/Code-Generation-Multi-Model

Url of Code-Generation-Multi-Model

Code-Generation-Multi-Model huggingface.co Url

Provider of Code-Generation-Multi-Model huggingface.co

AventIQ-AI
ORGANIZATIONS

Other API from AventIQ-AI