Ankit Pal

Results 97 comments of Ankit Pal

I have fixed the issue, Please check now :)

set `max_new_tokens=None` example `model = HubModel(api_key = "", max_new_tokens=None)`

Hi, Can you share exact full code with sample examples?

@Hadjerkhd Hi, your max_completion_length is too high. sorry for the confusion the parameter `max_completion_length` doesn't reflect the completion length of the model, it's a parameter for the parser module. https://github.com/promptslab/Promptify/blob/a121b88c87b7b712552287a6252b2103a60ff90b/promptify/parser/parser.py#L165...

Hi, You have to pass the `template` and `model` in `Prompter` and in `fit` function you provide the sentence. example ``` prompter = Prompter(model=model, template = 'relation_extraction.jinja') output = prompter.fit(text_input...

@eren23 Yes, I Plan to add more domain prompts.

You don't need to pass 'jinja' multiple times, you are passing template in prompter and again in pipe.fit function. Try this: ``` result = pipe.fit(sent, n_output_labels = len(classes), domain =...

Hi, did you install it from GitHub directly? `pip3 install git+https://github.com/promptslab/Promptify.git`

Yes, it will be added soon.

@billwood09 Please take a look here for more details https://github.com/TheAppleTucker/backend-GPT