Ankit Pal
Ankit Pal
@Wauplin Thank you for reaching out and contributing. We would be happy to provide support for the HF. It's a great idea. Please feel free to open PR about this.
@Wauplin Thank you for your great contribution. I am working on changing the model function structure, as you suggested. `HubModel("google/flan-t5-xl", api_key="xxx").run(prompt)` format make more sense.
@Wauplin, check the new changes https://github.com/promptslab/Promptify/blob/bc94ca6ad35a21f56de3a8e6baca15f8441cbc6c/promptify/models/nlp/openai_model.py#L18 Do you have other suggestions, or can we go with this format? if yes, please re-format the HF model code according to the new...
Merged the PR. Try the new feature :)
Thank you for showing interest in the project. We are working on adding relation extraction. @kamalkraj
@Borouch @eren23 Added relation-extraction feature;Please check : https://github.com/promptslab/Promptify/blob/main/examples/Relation_extraction.ipynb
For visualisation part: ``` import networkx as nx import matplotlib.pyplot as plt def visualize(data): G = nx.Graph() for triplet in data: G.add_node(triplet[0]) G.add_node(triplet[2]) G.add_edge(triplet[0], triplet[2], relation=triplet[1]) pos = nx.spring_layout(G) nx.draw(G,...
Hi, Did you try the `eval()` method on response?
We are working on a verifier step to check the response type.
Thank you for showing interest in the project. We are working on documentation :)