How to use from the
Use from the
Transformers library
# Use a pipeline as a high-level helper
from transformers import pipeline

pipe = pipeline("text-generation", model="InvestmentResearchAI/LLM-ADE_tiny-v0.001")
messages = [
    {"role": "user", "content": "Who are you?"},
]
pipe(messages)
# pip install -U transformers accelerate
# Load model directly
from transformers import AutoTokenizer, AutoModelForCausalLM

tokenizer = AutoTokenizer.from_pretrained("InvestmentResearchAI/LLM-ADE_tiny-v0.001")
model = AutoModelForCausalLM.from_pretrained("InvestmentResearchAI/LLM-ADE_tiny-v0.001", device_map="auto")
messages = [
    {"role": "user", "content": "Who are you?"},
]
inputs = tokenizer.apply_chat_template(
	messages,
	add_generation_prompt=True,
	tokenize=True,
	return_dict=True,
	return_tensors="pt",
).to(model.device)

outputs = model.generate(**inputs, max_new_tokens=256)
print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:]))
Quick Links

AlphaBlind Tiny v0.001

Our Proof-of-Concept (POC) for the LLM-ADE framework (https://arxiv.org/abs/2404.13028). A very early, initial version of TinyLlama processing and ingesting llm-ade-fin_data-subset-earnings-10k and other financial data with the LLM-ADE framework.

Note: This model has not been thoroughly tested, and is very small - it can run on a Macbook Pro. Please do not use this version of the model as is.

Downloads last month
22
Safetensors
Model size
1B params
Tensor type
F32
Β·
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support

Space using InvestmentResearchAI/LLM-ADE_tiny-v0.001 1

Collection including InvestmentResearchAI/LLM-ADE_tiny-v0.001

Paper for InvestmentResearchAI/LLM-ADE_tiny-v0.001