Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
CS635-Assignment-2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Meet Narendra
CS635-Assignment-2
Commits
57aa6886
Commit
57aa6886
authored
Nov 28, 2023
by
Meet Narendra
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Misc
parent
f7842ea7
Pipeline
#1892
failed with stages
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
question_generation.py
question_generation.py
+1
-1
No files found.
question_generation.py
View file @
57aa6886
...
...
@@ -177,7 +177,7 @@ def generate_questions(n=10,model=None,tokenizer=None):
if
__name__
==
"__main__"
:
model_name
=
'flan-t5-
xxl
'
model_name
=
'flan-t5-
large
'
model
,
tokenizer
=
setup_model
(
model_name
)
questions
,
answers
=
generate_questions
(
4000
,
model
,
tokenizer
)
print
(
questions
,
answers
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment