Repository navigation
How do I finetune an entire pdf document? #1931
Replies: 1 comment
|
Hi @digsganit98, welcome! Soup has no single "PDF in, model out" command today, but the pieces exist. PDF to text. pip install pypdf
soup data ingest book.pdf --output book.jsonlWhy "connection refused". Two caveats: forge reads Two honest paths
base: HuggingFaceTB/SmolLM2-1.7B
task: pretrain
data:
train: ./book.jsonl
format: plaintext
max_length: 2048
training:
epochs: 3
quantization: 4bit
lora: {r: 64, alpha: 16}
output: ./output_pretrainCheck it with
Docs: continued pre-training, RAFT, forge, generate. No open issue covers PDF ingestion yet. |
Uh oh!
There was an error while loading. Please reload this page.
Hi, how do I finetune an entire pdf document? soup data forge, somehow doesn't work with anthropic or ollama or vllm, and using those I get connection refused error.
data generate, takes a single prompt instead of document, so I feel I am missing out on the context.
Is there a simpler way to ingest and process the data without hassle?
All reactions