Downloads ยท 30 days
25
17% of all-time downloads
aman-jaglan/arc-advisor
arc-advisor is a text generation model from aman-jaglan. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as apache-2.0.
Downloads ยท 30 days
25
17% of all-time downloads
All-time downloads
146
Public
Parameters
4.4B
8.8 GB on disk
Likes
2
Public
Click a slice to open those files.
.safetensors8.8 GB ยท 100%
From the Hugging Face model README
ARC Advisor is a specialized advisory model designed to enhance Large Language Models' performance on CRM and Salesforce-related tasks. By providing intelligent guidance and query structuring suggestions, it helps LLMs achieve significantly better results on complex CRM operations.
Boost your existing LLM's CRM capabilities by using ARC Advisor as a preprocessing step:
from transformers import AutoModelForCausalLM, AutoTokenizer
# Load ARC Advisor
advisor = AutoModelForCausalLM.from_pretrained("aman-jaglan/arc-advisor")
tokenizer = AutoTokenizer.from_pretrained("aman-jaglan/arc-advisor")
def enhance_llm_query(user_request):
# Step 1: Get advisory guidance
advisor_prompt = f"""As a CRM expert, provide guidance for this request:
{user_request}
Suggest the best approach, relevant objects, and query structure."""
inputs = tokenizer(advisor_prompt, return_tensors="pt")
advice = advisor.generate(**inputs, max_new_tokens=200)
# Step 2: Use advice to enhance main LLM prompt
enhanced_prompt = f"""
Expert Guidance: {tokenizer.decode(advice[0])}
Now execute: {user_request}
"""
return enhanced_prompt
Transform vague requests into structured CRM queries:
Guide LLMs through complex multi-object queries:
import openai
# Get advisor guidance first
advice = get_arc_advisor_guidance(query)
# Enhanced GPT query
response = openai.ChatCompletion.create(
model="gpt-4",
messages=[
{"role": "system", "content": f"CRM Expert Guidance: {advice}"},
{"role": "user", "content": original_query}
]
)
# Deploy ARC Advisor on lightweight infrastructure
# Use output to guide larger local models
advisor_server = "http://localhost:8000/v1/chat/completions"
main_llm_server = "http://localhost:8001/v1/chat/completions"
When used as an advisor:
# Using Transformers
from transformers import pipeline
advisor = pipeline("text-generation", model="aman-jaglan/arc-advisor")
# Using vLLM (recommended for production)
python -m vllm.entrypoints.openai.api_server \
--model aman-jaglan/arc-advisor \
--dtype bfloat16 \
--max-model-len 4096
Join our community to share your experiences and improvements:
Apache 2.0 - Commercial use permitted with attribution
Transform your LLM into a CRM expert with ARC Advisor