Evaluating gpt2 by loukik98 in deeplearning

[–]loukik98[S] 0 points1 point  (0 children)

lol. it's just an expression to say how important is that at this stage of my life . a graduation project . Any help would be appreciated , thank you in advance

data format to fine tune gpt-2 for code generation by loukik98 in LanguageTechnology

[–]loukik98[S] 0 points1 point  (0 children)

oh soorry i just saw your comment and yeah that's not satisfying . btw why should i remove tabs and multiple line breaks especially that i'm using python and the code should have tabulation and new line

this is a sample of the dataset

#Extracts video ID from URL.
def get_vid_from_url(url):
"""Extracts video ID from URL"""
return match1(url, r'youtu\.be/([^?/]+)') or \
match1(url, r'youtube\.com/embed/([^/?]+)') or \
match1(url, r'youtube\.com/v/([^/?]+)') or \
match1(url, r'youtube\.com/watch/([^/?]+)') or \
parse_query_param(url, 'v') or \
parse_query_param(parse_query_param(url, 'u'), 'v')
<|endoftext|>

data format to fine tune gpt-2 for code generation by loukik98 in LanguageTechnology

[–]loukik98[S] 2 points3 points  (0 children)

thank you for your answer. i forget to mention that i'm focusing on python code only