See the example notebook for more information. Ask a large text corpus questions and receive answers with citations to which documents the answers were found. ktrain 0.37.x is released and supports Generative Question-Answering using OpenAI models like GPT-3.5-turbo by wrapping the LangChain and Paper-QA packages. prompt ( prompt ) # OUTPUT # Cillian Murphy, Florence Pugh People: James Gandolfini, Paul Newman Sentence: I like Cillian Murphy's acting. Here is an example: Sentence: James Gandolfini and Paul Newman were great actors. See the example notebook for more information.įrom _ai import LLM llm = LLM () # for GPU inference, supply n_gpu_layers parameter prompt = """Extract the names of people in the supplied sentences. The generative_ai.LLM class replaces the previous generative_ai.GenerativeAI class ( breaking change). ktrain 0.38.x is released and includes a generative_ai module that is now powered by our onprem.LLM package for ChatGPT-like generative AI running on your own machine.A "Swiss Army knife" for machine learning News and Announcements
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |