Update README.md
Browse filesAdd langchain reference
README.md
CHANGED
@@ -95,3 +95,10 @@ generated_text = tokenizer.decode(
|
|
95 |
skip_special_tokens=True
|
96 |
)
|
97 |
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
95 |
skip_special_tokens=True
|
96 |
)
|
97 |
```
|
98 |
+
|
99 |
+
## Example of RAG with Langchain
|
100 |
+
|
101 |
+
[This reference](https://huggingface.co/Mike0307/text2vec-base-chinese-rag#example-of-langchain-rag) shows how to customize langchain llm with this phi-3 lora model.
|
102 |
+
|
103 |
+
![image/png](https://cdn-uploads.huggingface.co/production/uploads/6414866f1cbd604c9217c7d0/RrBoHJINfrSWtCNkePs7g.png)
|
104 |
+
|