Skip to content

Commit

Permalink
Add support for introspecting a Jupyter notebook cell (#117)
Browse files Browse the repository at this point in the history
Commit Description: Can now be run in a Jupyter notebook cell

Co-authored-by: Jack Hopkins <[email protected]>
  • Loading branch information
JackHopkins and Jack Hopkins authored Dec 5, 2023
1 parent 2e0f5a8 commit e934b8a
Show file tree
Hide file tree
Showing 4 changed files with 2,390 additions and 1 deletion.
98 changes: 98 additions & 0 deletions output.spec
Original file line number Diff line number Diff line change
@@ -0,0 +1,98 @@
Class: LLM_Finetune_API
finetune(self, **kwargs) -> tanuki.models.finetune_job.FinetuneJob
get_finetuned(self, job_id: str, **kwargs) -> tanuki.models.finetune_job.FinetuneJob
list_finetuned(self, limit=100, **kwargs) -> List[tanuki.models.finetune_job.FinetuneJob]

Class: LLM_API
generate(self, model, system_message, prompt, **kwargs)

Class: LLM_Finetune_API
finetune(self, **kwargs) -> tanuki.models.finetune_job.FinetuneJob
get_finetuned(self, job_id: str, **kwargs) -> tanuki.models.finetune_job.FinetuneJob
list_finetuned(self, limit=100, **kwargs) -> List[tanuki.models.finetune_job.FinetuneJob]

Class: LLM_API
generate(self, model, system_message, prompt, **kwargs)

Class: Embedding_API
embed(self, texts: List[str], model: str = None, **kwargs) -> List[tanuki.models.embedding.Embedding]

Class: LLM_Finetune_API
Class Docstring: Helper class that provides a standard way to create an ABC using
inheritance.
finetune(self, **kwargs) -> tanuki.models.finetune_job.FinetuneJob
Docstring: Creates a fine-tuning run
Args:
**kwargs:

Returns:
get_finetuned(self, job_id: str, **kwargs) -> tanuki.models.finetune_job.FinetuneJob
Docstring: Gets a fine-tuning run by id
list_finetuned(self, limit=100, **kwargs) -> List[tanuki.models.finetune_job.FinetuneJob]
Docstring: Gets the last N fine-tuning runs

Class: Embedding_API
Class Docstring: Helper class that provides a standard way to create an ABC using
inheritance.
embed(self, texts: List[str], model: str = None, **kwargs) -> List[tanuki.models.embedding.Embedding]
Docstring: The main embedding function, given the model and prompt, return a vector representation

Class: Embedding_API
Class Docstring: Helper class that provides a standard way to create an ABC using
inheritance.
embed(self, texts: List[str], model: str = None, **kwargs) -> List[tanuki.models.embedding.Embedding]
Docstring: The main embedding function, given the model and prompt, return a vector representation

Class: LLM_API
Class Docstring: Helper class that provides a standard way to create an ABC using
inheritance.
generate(self, model, system_message, prompt, **kwargs)
Docstring: The main generation function, given the args, kwargs, function_modeler, function description and model type, generate a response and check if the datapoint can be saved to the finetune dataset

Class: LLM_Finetune_API
Class Docstring: Helper class that provides a standard way to create an ABC using
inheritance.
finetune(self, **kwargs) -> tanuki.models.finetune_job.FinetuneJob
Docstring: Creates a fine-tuning run
Args:
**kwargs:

Returns:
get_finetuned(self, job_id: str, **kwargs) -> tanuki.models.finetune_job.FinetuneJob
Docstring: Gets a fine-tuning run by id
list_finetuned(self, limit=100, **kwargs) -> List[tanuki.models.finetune_job.FinetuneJob]
Docstring: Gets the last N fine-tuning runs

Class: LLM_API
Class Docstring: Helper class that provides a standard way to create an ABC using
inheritance.
generate(self, model, system_message, prompt, **kwargs)
Docstring: The main generation function, given the args, kwargs, function_modeler, function description and model type, generate a response and check if the datapoint can be saved to the finetune dataset

Class: LLM_Finetune_API
Class Docstring: Helper class that provides a standard way to create an ABC using
inheritance.
finetune(self, **kwargs) -> tanuki.models.finetune_job.FinetuneJob
Docstring: Creates a fine-tuning run
Args:
**kwargs:

Returns:
get_finetuned(self, job_id: str, **kwargs) -> tanuki.models.finetune_job.FinetuneJob
Docstring: Gets a fine-tuning run by id
list_finetuned(self, limit=100, **kwargs) -> List[tanuki.models.finetune_job.FinetuneJob]
Docstring: Gets the last N fine-tuning runs

Class: LLM_API
generate(self, model, system_message, prompt, **kwargs) ->
"""
The main generation function, given the args, kwargs, function_modeler, function description and model type,
generate a response and check if the datapoint can be saved to the finetune dataset
"""

Class: Embedding_API
Class Docstring: Helper class that provides a standard way to create an ABC using
inheritance.
embed(self, texts: List[str], model: str = None, **kwargs) -> List[tanuki.models.embedding.Embedding]
Docstring: The main embedding function, given the model and prompt, return a vector representation

Loading

0 comments on commit e934b8a

Please sign in to comment.