- Notifications
You must be signed in to change notification settings - Fork4
changes#3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Open
taylorlynn wants to merge1 commit intomainChoose a base branch fromnew_fixes
base:main
Could not load branches
Branch not found:{{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline, and old review comments may become outdated.
Uh oh!
There was an error while loading.Please reload this page.
Open
changes#3
Changes fromall commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Jump to
The table of contents is too big for display.
Diff view
Diff view
Uh oh!
There was an error while loading.Please reload this page.
There are no files selected for viewing
Binary file added.DS_Store
Binary file not shown.
Binary file addeddata/.DS_Store
Binary file not shown.
Binary file addedserver/.DS_Store
Binary file not shown.
1 change: 0 additions & 1 deletionserver/.gitignore
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,3 @@ | ||
| /outputs | ||
| /__pycache__ | ||
| /venv |
1 change: 1 addition & 0 deletionstransformers
Submodule transformers added at 061580
8 changes: 8 additions & 0 deletionsvenv/bin/easy_install
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| #!/Users/taylorlynncurtis/Desktop/RA/OpenCoding/OpenCodingForMachineLearning/venv/bin/python3 | ||
| # -*- coding: utf-8 -*- | ||
| import re | ||
| import sys | ||
| from setuptools.command.easy_install import main | ||
| if __name__ == '__main__': | ||
| sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) | ||
| sys.exit(main()) |
8 changes: 8 additions & 0 deletionsvenv/bin/easy_install-3.8
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| #!/Users/taylorlynncurtis/Desktop/RA/OpenCoding/OpenCodingForMachineLearning/venv/bin/python3 | ||
| # -*- coding: utf-8 -*- | ||
| import re | ||
| import sys | ||
| from setuptools.command.easy_install import main | ||
| if __name__ == '__main__': | ||
| sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) | ||
| sys.exit(main()) |
1 change: 1 addition & 0 deletionsvenv/bin/python
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| python3 |
1 change: 1 addition & 0 deletionsvenv/bin/python3
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| /Users/taylorlynncurtis/opt/anaconda3/bin/python3 |
Binary file not shown.
5 changes: 5 additions & 0 deletionsvenv/lib/python3.8/site-packages/easy_install.py
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| """Run the EasyInstall command""" | ||
| if__name__=='__main__': | ||
| fromsetuptools.command.easy_installimportmain | ||
| main() |
18 changes: 18 additions & 0 deletionsvenv/lib/python3.8/site-packages/pip/__init__.py
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,18 @@ | ||
| frompip._internal.utils.typingimportMYPY_CHECK_RUNNING | ||
| ifMYPY_CHECK_RUNNING: | ||
| fromtypingimportList,Optional | ||
| __version__="20.1.1" | ||
| defmain(args=None): | ||
| # type: (Optional[List[str]]) -> int | ||
| """This is an internal API only meant for use by pip's own console scripts. | ||
| For additional details, see https://github.com/pypa/pip/issues/7498. | ||
| """ | ||
| frompip._internal.utils.entrypointsimport_wrapper | ||
| return_wrapper(args) |
26 changes: 26 additions & 0 deletionsvenv/lib/python3.8/site-packages/pip/__main__.py
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,26 @@ | ||
| from __future__ import absolute_import | ||
| import os | ||
| import sys | ||
| # Remove '' and current working directory from the first entry | ||
| # of sys.path, if present to avoid using current directory | ||
| # in pip commands check, freeze, install, list and show, | ||
| # when invoked as python -m pip <command> | ||
| if sys.path[0] in ('', os.getcwd()): | ||
| sys.path.pop(0) | ||
| # If we are running from a wheel, add the wheel to sys.path | ||
| # This allows the usage python pip-*.whl/pip install pip-*.whl | ||
| if __package__ == '': | ||
| # __file__ is pip-*.whl/pip/__main__.py | ||
| # first dirname call strips of '/__main__.py', second strips off '/pip' | ||
| # Resulting path is the name of the wheel itself | ||
| # Add that to sys.path so we can import pip | ||
| path = os.path.dirname(os.path.dirname(__file__)) | ||
| sys.path.insert(0, path) | ||
| from pip._internal.cli.main import main as _main # isort:skip # noqa | ||
| if __name__ == '__main__': | ||
| sys.exit(_main()) |
17 changes: 17 additions & 0 deletionsvenv/lib/python3.8/site-packages/pip/_internal/__init__.py
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,17 @@ | ||
| importpip._internal.utils.inject_securetransport# noqa | ||
| frompip._internal.utils.typingimportMYPY_CHECK_RUNNING | ||
| ifMYPY_CHECK_RUNNING: | ||
| fromtypingimportOptional,List | ||
| defmain(args=None): | ||
| # type: (Optional[List[str]]) -> int | ||
| """This is preserved for old console scripts that may still be referencing | ||
| it. | ||
| For additional details, see https://github.com/pypa/pip/issues/7498. | ||
| """ | ||
| frompip._internal.utils.entrypointsimport_wrapper | ||
| return_wrapper(args) |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
219 changes: 219 additions & 0 deletionsvenv/lib/python3.8/site-packages/pip/_internal/build_env.py
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,219 @@ | ||
| """Build Environment used for isolation during sdist building | ||
| """ | ||
| # The following comment should be removed at some point in the future. | ||
| # mypy: strict-optional=False | ||
| # mypy: disallow-untyped-defs=False | ||
| importlogging | ||
| importos | ||
| importsys | ||
| importtextwrap | ||
| fromcollectionsimportOrderedDict | ||
| fromdistutils.sysconfigimportget_python_lib | ||
| fromsysconfigimportget_paths | ||
| frompip._vendor.pkg_resourcesimportRequirement,VersionConflict,WorkingSet | ||
| frompipimport__file__aspip_location | ||
| frompip._internal.cli.spinnersimportopen_spinner | ||
| frompip._internal.utils.subprocessimportcall_subprocess | ||
| frompip._internal.utils.temp_dirimportTempDirectory,tempdir_kinds | ||
| frompip._internal.utils.typingimportMYPY_CHECK_RUNNING | ||
| ifMYPY_CHECK_RUNNING: | ||
| fromtypingimportTuple,Set,Iterable,Optional,List | ||
| frompip._internal.index.package_finderimportPackageFinder | ||
| logger=logging.getLogger(__name__) | ||
| class_Prefix: | ||
| def__init__(self,path): | ||
| # type: (str) -> None | ||
| self.path=path | ||
| self.setup=False | ||
| self.bin_dir=get_paths( | ||
| 'nt'ifos.name=='nt'else'posix_prefix', | ||
| vars={'base':path,'platbase':path} | ||
| )['scripts'] | ||
| # Note: prefer distutils' sysconfig to get the | ||
| # library paths so PyPy is correctly supported. | ||
| purelib=get_python_lib(plat_specific=False,prefix=path) | ||
| platlib=get_python_lib(plat_specific=True,prefix=path) | ||
| ifpurelib==platlib: | ||
| self.lib_dirs= [purelib] | ||
| else: | ||
| self.lib_dirs= [purelib,platlib] | ||
| classBuildEnvironment(object): | ||
| """Creates and manages an isolated environment to install build deps | ||
| """ | ||
| def__init__(self): | ||
| # type: () -> None | ||
| temp_dir=TempDirectory( | ||
| kind=tempdir_kinds.BUILD_ENV,globally_managed=True | ||
| ) | ||
| self._prefixes=OrderedDict(( | ||
| (name,_Prefix(os.path.join(temp_dir.path,name))) | ||
| fornamein ('normal','overlay') | ||
| )) | ||
| self._bin_dirs= []# type: List[str] | ||
| self._lib_dirs= []# type: List[str] | ||
| forprefixinreversed(list(self._prefixes.values())): | ||
| self._bin_dirs.append(prefix.bin_dir) | ||
| self._lib_dirs.extend(prefix.lib_dirs) | ||
| # Customize site to: | ||
| # - ensure .pth files are honored | ||
| # - prevent access to system site packages | ||
| system_sites= { | ||
| os.path.normcase(site)forsitein ( | ||
| get_python_lib(plat_specific=False), | ||
| get_python_lib(plat_specific=True), | ||
| ) | ||
| } | ||
| self._site_dir=os.path.join(temp_dir.path,'site') | ||
| ifnotos.path.exists(self._site_dir): | ||
| os.mkdir(self._site_dir) | ||
| withopen(os.path.join(self._site_dir,'sitecustomize.py'),'w')asfp: | ||
| fp.write(textwrap.dedent( | ||
| ''' | ||
| import os, site, sys | ||
| # First, drop system-sites related paths. | ||
| original_sys_path = sys.path[:] | ||
| known_paths = set() | ||
| for path in {system_sites!r}: | ||
| site.addsitedir(path, known_paths=known_paths) | ||
| system_paths = set( | ||
| os.path.normcase(path) | ||
| for path in sys.path[len(original_sys_path):] | ||
| ) | ||
| original_sys_path = [ | ||
| path for path in original_sys_path | ||
| if os.path.normcase(path) not in system_paths | ||
| ] | ||
| sys.path = original_sys_path | ||
| # Second, add lib directories. | ||
| # ensuring .pth file are processed. | ||
| for path in {lib_dirs!r}: | ||
| assert not path in sys.path | ||
| site.addsitedir(path) | ||
| ''' | ||
| ).format(system_sites=system_sites,lib_dirs=self._lib_dirs)) | ||
| def__enter__(self): | ||
| self._save_env= { | ||
| name:os.environ.get(name,None) | ||
| fornamein ('PATH','PYTHONNOUSERSITE','PYTHONPATH') | ||
| } | ||
| path=self._bin_dirs[:] | ||
| old_path=self._save_env['PATH'] | ||
| ifold_path: | ||
| path.extend(old_path.split(os.pathsep)) | ||
| pythonpath= [self._site_dir] | ||
| os.environ.update({ | ||
| 'PATH':os.pathsep.join(path), | ||
| 'PYTHONNOUSERSITE':'1', | ||
| 'PYTHONPATH':os.pathsep.join(pythonpath), | ||
| }) | ||
| def__exit__(self,exc_type,exc_val,exc_tb): | ||
| forvarname,old_valueinself._save_env.items(): | ||
| ifold_valueisNone: | ||
| os.environ.pop(varname,None) | ||
| else: | ||
| os.environ[varname]=old_value | ||
| defcheck_requirements(self,reqs): | ||
| # type: (Iterable[str]) -> Tuple[Set[Tuple[str, str]], Set[str]] | ||
| """Return 2 sets: | ||
| - conflicting requirements: set of (installed, wanted) reqs tuples | ||
| - missing requirements: set of reqs | ||
| """ | ||
| missing=set() | ||
| conflicting=set() | ||
| ifreqs: | ||
| ws=WorkingSet(self._lib_dirs) | ||
| forreqinreqs: | ||
| try: | ||
| ifws.find(Requirement.parse(req))isNone: | ||
| missing.add(req) | ||
| exceptVersionConflictase: | ||
| conflicting.add((str(e.args[0].as_requirement()), | ||
| str(e.args[1]))) | ||
| returnconflicting,missing | ||
| definstall_requirements( | ||
| self, | ||
| finder,# type: PackageFinder | ||
| requirements,# type: Iterable[str] | ||
| prefix_as_string,# type: str | ||
| message# type: Optional[str] | ||
| ): | ||
| # type: (...) -> None | ||
| prefix=self._prefixes[prefix_as_string] | ||
| assertnotprefix.setup | ||
| prefix.setup=True | ||
| ifnotrequirements: | ||
| return | ||
| args= [ | ||
| sys.executable,os.path.dirname(pip_location),'install', | ||
| '--ignore-installed','--no-user','--prefix',prefix.path, | ||
| '--no-warn-script-location', | ||
| ]# type: List[str] | ||
| iflogger.getEffectiveLevel()<=logging.DEBUG: | ||
| args.append('-v') | ||
| forformat_controlin ('no_binary','only_binary'): | ||
| formats=getattr(finder.format_control,format_control) | ||
| args.extend(('--'+format_control.replace('_','-'), | ||
| ','.join(sorted(formatsor {':none:'})))) | ||
| index_urls=finder.index_urls | ||
| ifindex_urls: | ||
| args.extend(['-i',index_urls[0]]) | ||
| forextra_indexinindex_urls[1:]: | ||
| args.extend(['--extra-index-url',extra_index]) | ||
| else: | ||
| args.append('--no-index') | ||
| forlinkinfinder.find_links: | ||
| args.extend(['--find-links',link]) | ||
| forhostinfinder.trusted_hosts: | ||
| args.extend(['--trusted-host',host]) | ||
| iffinder.allow_all_prereleases: | ||
| args.append('--pre') | ||
| args.append('--') | ||
| args.extend(requirements) | ||
| withopen_spinner(message)asspinner: | ||
| call_subprocess(args,spinner=spinner) | ||
| classNoOpBuildEnvironment(BuildEnvironment): | ||
| """A no-op drop-in replacement for BuildEnvironment | ||
| """ | ||
| def__init__(self): | ||
| pass | ||
| def__enter__(self): | ||
| pass | ||
| def__exit__(self,exc_type,exc_val,exc_tb): | ||
| pass | ||
| defcleanup(self): | ||
| pass | ||
| definstall_requirements(self,finder,requirements,prefix,message): | ||
| raiseNotImplementedError() |
Oops, something went wrong.
Uh oh!
There was an error while loading.Please reload this page.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.