-
Notifications
You must be signed in to change notification settings - Fork 24
/
output.spec
98 lines (81 loc) · 4.29 KB
/
output.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
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