How to use Transformers library in client.baml? to load any safetensor/ggml model and use them. #1404
Unanswered
vinaayakha
asked this question in
Q&A
Replies: 1 comment
-
That's a great question! BAML doesn't support using I started reading about layoutLM and noticed that it expects bounding boxes as input in a specific format. Do you know if those are required for your use case? As far as I understand, this doesn't exactly match BAML's usual interface to the model provider, but we might be able to figure out a solution. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Novice Enthusiast here,
Asking dumb questions.
I'm using layoutLM and Pillow but I want to use baml library to extract structured data from any document that the user might give. How can I load the Transformers library in baml.client.
There is an option to use vLLM but vLLM is for LLM text generation.
I want to create a baml workflow using layoutLM to extract structured data using layoutLM and continue with summarization using llama or qwen.
Thank you
Beta Was this translation helpful? Give feedback.
All reactions