Skip to content

Langchain+Ollama vs HuggingFace+Transformers #67

@angel-daza

Description

@angel-daza

We should probably focus on one of them for the course. I personally prefer Ollama+Langchain, if ther eis enough time to introduce them properly...

The advantage of HuggingFace is that integration with episode 3 is seamless, as we are still using the transformers library. However it feels very draft-like code.

The advantage of Ollama (through langchain) is that it has a way more intuitive API, and is also more generalizable to advanced use cases, so it makes it easier to explain "next steps" if participants are interested. The problem is yet another library to introduce

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions