sgarbi commited on
Commit
1ceecad
1 Parent(s): 5214d1b

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +9 -0
README.md CHANGED
@@ -95,6 +95,15 @@ def query_model(input_text):
95
  print(query_model("Space X Engineer"))
96
  ```
97
 
 
 
 
 
 
 
 
 
 
98
  ## Limitations
99
  - The model's responses are rooted in its training data. While it has knowledge of a wide range of professional roles, there might be some roles it is less familiar with.
100
  - The descriptions are synthetically generated. For critical applications, users should validate the content.
 
95
  print(query_model("Space X Engineer"))
96
  ```
97
 
98
+ # Using in Transformers:
99
+
100
+ ```python
101
+ from transformers import pipeline
102
+
103
+ pipe = pipeline("text-generation", model="sgarbi/gpt-nq-prompt-generator")
104
+ pipe('<|title|>Sales Manager<|prompt|>')
105
+ ```
106
+
107
  ## Limitations
108
  - The model's responses are rooted in its training data. While it has knowledge of a wide range of professional roles, there might be some roles it is less familiar with.
109
  - The descriptions are synthetically generated. For critical applications, users should validate the content.