forked from langchain-ai/langchain
-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Llama-2-chat integration #9
Closed
Closed
Changes from 1 commit
Commits
Show all changes
30 commits
Select commit
Hold shift + click to select a range
c004d7b
llama-2-chat integration [wip]
eryk-dsai 3337d6a
fixing problem with private pipeline
eryk-dsai 26e10fc
_generate returns ChatResult
eryk-dsai 2aba4cd
batch calls example in notebook, handling chat messages
eryk-dsai 82f71f1
_format_messages_as_text docstring
eryk-dsai 933f5f4
you can pass stop words now
eryk-dsai 36519e0
format_messages_as_text test
eryk-dsai 9a92e08
formatter
eryk-dsai cc53251
fix lint issues
eryk-dsai 6a0cd87
removal of redundant notebook cell
eryk-dsai cc578b5
refactor: update naming to indicate Hugging Face usage
eryk-dsai cb33d48
small refactor
eryk-dsai 440571d
fix lint errors, running formatter
eryk-dsai f860326
moving stopping criteria class out of function, correct typing
eryk-dsai 9b6e79d
code review suggestions
eryk-dsai 900d55c
run formatter and lint
eryk-dsai 3b9c030
StoppingCriteria are correctly placed on the same device as pipeline
eryk-dsai 9715b81
Merge branch 'llama2-chat' of https://github.com/deepsense-ai/langcha…
eryk-dsai 3885de5
run formatter, lint
eryk-dsai 814131d
removal of the redundant notebook cell
eryk-dsai bd6e2fe
moved StoppingCriteria import to method
eryk-dsai 35b5e09
fixing type annotation
eryk-dsai 1228bfc
fixing Enum tests
eryk-dsai 926c02f
Editing the huggingface llama 2 notebook
eryk-dsai 8a8a03a
Merge branch 'master' into llama2-chat
eryk-dsai 964b579
typos, better name for customg Stopping Critieria subclass
eryk-dsai 87597a1
Generic Hugging Face Pipeline Chat Model
eryk-dsai 7756700
Merge branch 'langchain-ai:master' into llama2-chat
eryk-dsai d9e9ef3
simplifying HF Chat Model, by making use of HF Chat Templates
eryk-dsai cf203b9
removing incorrect check from validate_environment method
eryk-dsai File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You could have if type_checking - as it is done for other places.