repo_name
stringlengths
6
97
path
stringlengths
3
341
text
stringlengths
8
1.02M
ignatowski/u-test
server/u_test/models.py
<gh_stars>0 import datetime, os, re class Customer: """A Customer object.""" def __init__(self, name: str, doc: str, address: str, emails: str, phones: str) -> None: self.name = name self.participation = 'Titular' self.doc = doc self.address = address self.emails = em...
ignatowski/u-test
server/read_r_bs4.py
import getopt, sys from u_test.api_r import ApiR from u_test.html_parser_bs4 import HtmlParserBs4 from u_test.printer import Printer def main() -> None: "Gets and prints data." # get the username and password from the command line arguments username = '' password = '' try: opts, args = g...
ignatowski/u-test
server/u_test/tests/test_models.py
<gh_stars>0 from ..models import Customer, Account, Statement from datetime import datetime import unittest class TestCustomer(unittest.TestCase): """Test the Customer class.""" def __init__(self, *args, **kwargs) -> None: """Test that a Customer object can be created.""" unittest.TestCase._...
ignatowski/u-test
server/u_test/html_parser_u.py
import sys from html.parser import HTMLParser from .models import Customer, Account, Statement from typing import List class HtmlParserCustomers(HTMLParser): """A class used to parse customers html to Customer objects.""" def __init__(self, username: str = '') -> None: HTMLParser.__init__(self) ...
ignatowski/u-test
server/read.py
<filename>server/read.py import getopt, sys from u_test.api import Api from u_test.html_parser_u import HtmlObjects from u_test.printer import Printer def main() -> None: "Gets and prints data." # get the username and password from the command line arguments username = '' password = '' try: ...
NREL/grapinator
grapinator/resources/setup_fix/graphqlview.py
<gh_stars>0 from functools import partial from flask import Response, request from flask.views import View from graphql.type.schema import GraphQLSchema from graphql_server import (HttpQueryError, default_format_error, encode_execution_results, json_encode, load...
NREL/grapinator
grapinator/app.py
from flask import Flask from flask_cors import CORS from flask_graphql import GraphQLView from grapinator import settings, schema_settings, log from grapinator.model import db_session from grapinator.schema import * # setup Flask app = Flask(__name__) # add CORS support CORS(app, resources={r"/*": { "origins": s...
NREL/grapinator
grapinator/settings.py
import graphene import os from os import path from datetime import datetime from crypto_config import cryptoconfigparser from sqlalchemy import ( Column ,BigInteger ,Boolean ,Date ,DateTime ,Enum ,Float ,Integer ,Interval ,LargeBinary ,Numeric ,PickleType ,SmallIntege...
NREL/grapinator
tests/test_gql_class_creation.py
<filename>tests/test_gql_class_creation.py import unittest import context from datetime import datetime from grapinator import settings, log, schema_settings from grapinator.schema import * class TestStringMethods(unittest.TestCase): def test_gql(self): for c in schema_settings.get_gql_classes(): ...
NREL/grapinator
grapinator/svc_cherrypy.py
<reponame>NREL/grapinator # Reason for choosing cherrypy # https://blog.appdynamics.com/engineering/a-performance-analysis-of-python-wsgi-servers-part-2/ # # Flask application based on Quickstart # http://flask.pocoo.org/docs/0.12/quickstart/ # # CherryPy documentation for this # http://docs.cherrypy.org/en/latest/depl...
NREL/grapinator
grapinator/model.py
<reponame>NREL/grapinator from sqlalchemy import (Column, DateTime, Integer, Numeric, String, create_engine) from sqlalchemy.ext.declarative import declarative_base from sqlalchemy.orm import ( scoped_session ,sessionmaker ,relationship ) from grapinator import settings, schema_sett...
NREL/grapinator
grapinator/schema.py
<gh_stars>0 from sqlalchemy import and_, or_, desc, asc import graphene from graphene import relay from graphene_sqlalchemy import SQLAlchemyObjectType, SQLAlchemyConnectionField import datetime from grapinator import log, schema_settings from grapinator.model import * def gql_class_constructor(clazz_name, db_clazz_na...
NREL/grapinator
grapinator/__init__.py
import sys import os from os import path import logging.config from grapinator.settings import Settings, SchemaSettings # get application settings, exit if something missing. try: settings = Settings(config_file='/resources/grapinator.ini') except RuntimeError as err: print(f"Runtime error: {err}") sys.exi...
NREL/grapinator
tests/test_orm_class_creation.py
<gh_stars>0 import unittest import context from datetime import datetime from grapinator import log, schema_settings from grapinator.model import * class TestStringMethods(unittest.TestCase): orm_classes = schema_settings.get_db_classes() def test_orm(self): for clz in self.orm_classes: s...
NREL/grapinator
tests/test_schema_settings.py
import unittest import context from datetime import datetime from grapinator import settings, log, schema_settings class TestStringMethods(unittest.TestCase): sb = schema_settings def test_gqlschemabuilder(self): self.assertTrue(self.sb, "test_gqlschemabuilder: empty sb!") def test_get_db_classe...
NREL/grapinator
setup.py
<reponame>NREL/grapinator<filename>setup.py #!/usr/bin/env python # coding: utf-8 from setuptools import setup from setuptools import find_packages from setuptools.command.develop import develop from setuptools.command.install import install from subprocess import check_call import os def get_textfile(filename): ...
eatenliao/skyblock-auction-bot
code.py
import discord import cmath from discord.ext import commands from discord import Permissions from discord.utils import get import asyncio import json import locale import time import requests from requests import get from json import loads, dump import datetime from json.decoder import JSONDecodeError locale.setlocale(...
johnwason/robotraconteur_companion
tools/generate_info_parsers.py
import RobotRaconteur as RR from RobotRaconteur.RobotRaconteurPythonUtil import SplitQualifiedName import re from pathlib import Path NUMBER_TYPES = { RR.DataTypes_double_t: "double", RR.DataTypes_single_t: "float", RR.DataTypes_int8_t: "int8_t", RR.DataTypes_uint8_t: "uint8_t", RR.DataTypes_int16_...
johnwason/robotraconteur_companion
tools/generate_info_parsers-old.py
<reponame>johnwason/robotraconteur_companion import RobotRaconteur as RR import re from pathlib import Path my_service_defs={} source_dir=Path.cwd().joinpath('..').absolute() assert source_dir.joinpath('include').is_dir(), "Script must be run in tools directory" assert source_dir.joinpath('robdef/group1').is_dir(), "S...
gkucsko/NeMo
examples/nlp/text_normalization_as_tagging/normalization_as_tagging_infer.py
# Copyright (c) 2022, NVIDIA CORPORATION & AFFILIATES. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless requ...
gkucsko/NeMo
nemo/collections/nlp/data/dialogue/dataset/dialogue_bert_dataset.py
<reponame>gkucsko/NeMo<filename>nemo/collections/nlp/data/dialogue/dataset/dialogue_bert_dataset.py # Copyright (c) 2022, NVIDIA CORPORATION & AFFILIATES. All rights reserved. # Copyright 2019 The Google Research Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file e...
gkucsko/NeMo
nemo/collections/nlp/data/language_modeling/megatron/retro_dataset.py
<gh_stars>0 # Copyright (c) 2021, NVIDIA CORPORATION. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless requi...
gkucsko/NeMo
scripts/dataset_processing/nlp/intent_and_slot/prompt_learning_assistant_preprocessing.py
# Copyright (c) 2022, NVIDIA CORPORATION. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appli...
gkucsko/NeMo
tests/collections/common/mixins/test_adapter_modules.py
# Copyright (c) 2022, NVIDIA CORPORATION. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appli...
gkucsko/NeMo
examples/nlp/text_normalization_as_tagging/dataset_preparation/get_label_vocab.py
# Copyright (c) 2022, NVIDIA CORPORATION & AFFILIATES. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless requ...
gkucsko/NeMo
nemo/collections/common/metrics/metric_string_to_torchmetric.py
<gh_stars>0 # Copyright (c) 2022, NVIDIA CORPORATION. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless requi...
gkucsko/NeMo
examples/nlp/text_normalization_as_tagging/evaluation/eval.py
<gh_stars>0 # Copyright (c) 2022, NVIDIA CORPORATION & AFFILIATES. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # #...
gkucsko/NeMo
nemo_text_processing/text_normalization/ru/verbalizers/verbalize.py
# Copyright (c) 2021, NVIDIA CORPORATION. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appli...
gkucsko/NeMo
nemo/collections/asr/parts/utils/diarization_utils.py
# Copyright (c) 2021, NVIDIA CORPORATION. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appli...
gkucsko/NeMo
nemo_text_processing/text_normalization/en/taggers/electronic.py
# Copyright (c) 2021, NVIDIA CORPORATION. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appli...
gkucsko/NeMo
nemo/collections/nlp/data/text_normalization_as_tagging/thutmose_tagger_dataset.py
<gh_stars>0 # Copyright (c) 2022, NVIDIA CORPORATION & AFFILIATES. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # #...
gkucsko/NeMo
nemo/collections/nlp/models/machine_translation/mt_enc_dec_bottleneck_model.py
<gh_stars>0 # Copyright (c) 2020, NVIDIA CORPORATION. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless requi...
gkucsko/NeMo
nemo/collections/nlp/data/dialogue/data_processor/sgd_data_processor.py
# Copyright (c) 2022, NVIDIA CORPORATION & AFFILIATES. All rights reserved. # Copyright 2019 The Google Research Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.a...
gkucsko/NeMo
nemo/collections/asr/parts/utils/nmesc_clustering.py
# Copyright (c) 2021, NVIDIA CORPORATION. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appli...
gkucsko/NeMo
nemo/collections/nlp/data/dialogue/data_processor/assistant_data_processor.py
<reponame>gkucsko/NeMo # Copyright (c) 2022, NVIDIA CORPORATION & AFFILIATES. All rights reserved. # Copyright 2019 The Google Research Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License ...
gkucsko/NeMo
examples/nlp/dialogue/dialogue.py
<filename>examples/nlp/dialogue/dialogue.py # Copyright (c) 2022, NVIDIA CORPORATION & AFFILIATES. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apa...
gkucsko/NeMo
examples/nlp/dialogue/analyse_prediction_results.py
# Copyright (c) 2022, NVIDIA CORPORATION & AFFILIATES. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless requ...
gkucsko/NeMo
nemo_text_processing/text_normalization/ru/taggers/ordinal.py
# Copyright (c) 2021, NVIDIA CORPORATION & AFFILIATES. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless requ...
gkucsko/NeMo
examples/nlp/machine_translation/nmt_transformer_infer_megatron.py
<reponame>gkucsko/NeMo # Copyright (c) 2020, NVIDIA CORPORATION. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # U...
gkucsko/NeMo
nemo/collections/nlp/modules/common/text_generation_server.py
# Copyright (c) 2022, NVIDIA CORPORATION. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appli...
gkucsko/NeMo
examples/nlp/text_normalization_as_tagging/dataset_preparation/prepare_corpora_after_alignment.py
# Copyright (c) 2022, NVIDIA CORPORATION & AFFILIATES. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless requ...
gkucsko/NeMo
tests/collections/nlp/test_dialogue.py
# Copyright (c) 2021, NVIDIA CORPORATION. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appli...
gkucsko/NeMo
scripts/asr_language_modeling/ngram_lm/eval_beamsearch_ngram.py
<filename>scripts/asr_language_modeling/ngram_lm/eval_beamsearch_ngram.py # Copyright (c) 2020, NVIDIA CORPORATION. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # ...
gkucsko/NeMo
examples/asr/speech_classification/vad_infer.py
# Copyright (c) 2020, NVIDIA CORPORATION. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appli...
gkucsko/NeMo
tests/core/test_config_utils.py
<reponame>gkucsko/NeMo<filename>tests/core/test_config_utils.py # Copyright (c) 2020, NVIDIA CORPORATION. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://...
gkucsko/NeMo
nemo/collections/nlp/data/dialogue/dataset/dialogue_nearest_neighbour_dataset.py
<reponame>gkucsko/NeMo<gh_stars>0 # Copyright (c) 2022, NVIDIA CORPORATION & AFFILIATES. All rights reserved. # Copyright 2019 The Google Research Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of t...
gkucsko/NeMo
nemo/collections/nlp/models/machine_translation/megatron_nmt_model.py
<gh_stars>0 # Copyright (c) 2021, NVIDIA CORPORATION. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless requi...
gkucsko/NeMo
nemo/collections/nlp/data/language_modeling/megatron/lm_adapted_t5_dataset.py
<reponame>gkucsko/NeMo<gh_stars>0 # Copyright (c) 2022, NVIDIA CORPORATION. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENS...
gkucsko/NeMo
examples/nlp/text_normalization_as_tagging/evaluation/get_multi_reference_vocab.py
<filename>examples/nlp/text_normalization_as_tagging/evaluation/get_multi_reference_vocab.py<gh_stars>0 # Copyright (c) 2022, NVIDIA CORPORATION & AFFILIATES. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # Yo...
gkucsko/NeMo
tests/collections/nlp/test_gpt_model.py
<gh_stars>0 # Copyright (c) 2022, NVIDIA CORPORATION. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless requi...
gkucsko/NeMo
nemo/collections/nlp/data/dialogue/dataset/dialogue_gpt_generation_dataset.py
# Copyright (c) 2022, NVIDIA CORPORATION & AFFILIATES. All rights reserved. # Copyright 2019 The Google Research Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.a...
gkucsko/NeMo
nemo_text_processing/text_normalization/en/verbalizers/post_processing.py
<filename>nemo_text_processing/text_normalization/en/verbalizers/post_processing.py # Copyright (c) 2022, NVIDIA CORPORATION & AFFILIATES. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy ...
gkucsko/NeMo
nemo/collections/nlp/data/dialogue/dataset/dialogue_dataset.py
<filename>nemo/collections/nlp/data/dialogue/dataset/dialogue_dataset.py # Copyright (c) 2022, NVIDIA CORPORATION & AFFILIATES. All rights reserved. # Copyright 2019 The Google Research Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with th...
gkucsko/NeMo
nemo/collections/nlp/data/text_normalization_as_tagging/bert_example.py
<filename>nemo/collections/nlp/data/text_normalization_as_tagging/bert_example.py # Copyright 2019 The Google Research Authors. # Copyright (c) 2022, NVIDIA CORPORATION & AFFILIATES. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in complianc...
gkucsko/NeMo
tests/collections/asr/mixins/adapters/test_asr_adapter_mixin.py
# Copyright (c) 2022, NVIDIA CORPORATION. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appli...
gkucsko/NeMo
nemo/collections/nlp/models/dialogue/dialogue_s2s_generation_model.py
<filename>nemo/collections/nlp/models/dialogue/dialogue_s2s_generation_model.py # Copyright (c) 2022, NVIDIA CORPORATION & AFFILIATES. All rights reserved. # Copyright 2019 The Google Research Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance ...
gkucsko/NeMo
examples/nlp/text_normalization_as_tagging/normalization_as_tagging_train.py
<filename>examples/nlp/text_normalization_as_tagging/normalization_as_tagging_train.py # Copyright (c) 2022, NVIDIA CORPORATION & AFFILIATES. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a co...
gkucsko/NeMo
nemo/collections/nlp/data/dialogue/data_processor/ms_marco_data_processor.py
# Copyright (c) 2022, NVIDIA CORPORATION & AFFILIATES. All rights reserved. # Copyright 2019 The Google Research Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.a...
gkucsko/NeMo
nemo/collections/asr/metrics/wer_bpe.py
# Copyright (c) 2020, NVIDIA CORPORATION. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appli...
gkucsko/NeMo
nemo/collections/tts/modules/fastpitch.py
<filename>nemo/collections/tts/modules/fastpitch.py<gh_stars>0 # Copyright (c) 2021, NVIDIA CORPORATION. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://w...
gkucsko/NeMo
nemo/collections/asr/parts/utils/adapter_utils.py
<gh_stars>0 # Copyright (c) 2022, NVIDIA CORPORATION. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless requi...
gkucsko/NeMo
tests/collections/nlp/test_retrieval_module_inference.py
<reponame>gkucsko/NeMo<filename>tests/collections/nlp/test_retrieval_module_inference.py # Copyright (c) 2022, NVIDIA CORPORATION. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the L...
gkucsko/NeMo
nemo/collections/nlp/data/language_modeling/megatron/ul2_dataset.py
# Copyright (c) 2021, NVIDIA CORPORATION. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appli...
gkucsko/NeMo
examples/nlp/text_normalization_as_tagging/dataset_preparation/filter_sentences_with_errors.py
<gh_stars>0 # Copyright (c) 2022, NVIDIA CORPORATION & AFFILIATES. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # #...
gkucsko/NeMo
scripts/speaker_tasks/filelist_to_manifest.py
<reponame>gkucsko/NeMo # Copyright (c) 2020, NVIDIA CORPORATION. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # U...
gkucsko/NeMo
nemo/collections/nlp/modules/common/prompt_table.py
<gh_stars>0 # Copyright (c) 2022, NVIDIA CORPORATION. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless requi...
gkucsko/NeMo
nemo/collections/asr/parts/preprocessing/__init__.py
<filename>nemo/collections/asr/parts/preprocessing/__init__.py # Copyright (c) 2021, NVIDIA CORPORATION. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://w...
gkucsko/NeMo
nemo/collections/nlp/data/dialogue/input_example/assistant_input_example.py
# Copyright (c) 2022, NVIDIA CORPORATION & AFFILIATES. All rights reserved. # Copyright 2019 The Google Research Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.a...
gkucsko/NeMo
nemo/core/classes/module.py
<reponame>gkucsko/NeMo<gh_stars>0 # Copyright (c) 2020, NVIDIA CORPORATION. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENS...
gkucsko/NeMo
nemo_text_processing/inverse_text_normalization/vi/taggers/time.py
<reponame>gkucsko/NeMo<filename>nemo_text_processing/inverse_text_normalization/vi/taggers/time.py # Copyright (c) 2021, NVIDIA CORPORATION. All rights reserved. # Copyright 2015 and onwards Google, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in complianc...
gkucsko/NeMo
scripts/dataset_processing/nlp/squad/prompt_learning_squad_preprocessing.py
<filename>scripts/dataset_processing/nlp/squad/prompt_learning_squad_preprocessing.py # Copyright (c) 2022, NVIDIA CORPORATION. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the Lice...
gkucsko/NeMo
nemo/collections/nlp/modules/common/megatron/rotary_pos_embedding.py
<gh_stars>0 # coding=utf-8 # Copyright (c) 2022, NVIDIA CORPORATION. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 #...
gkucsko/NeMo
nemo/collections/nlp/modules/common/text_generation_utils.py
<gh_stars>0 # Copyright (c) 2022, NVIDIA CORPORATION. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless requi...
gkucsko/NeMo
examples/nlp/text_normalization_as_tagging/dataset_preparation/extract_giza_alignments.py
# Copyright (c) 2022, NVIDIA CORPORATION & AFFILIATES. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless requ...
gkucsko/NeMo
scripts/tokenizers/add_special_tokens_to_sentencepiece.py
<gh_stars>0 # Copyright (c) 2022, NVIDIA CORPORATION. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless requi...
gkucsko/NeMo
tests/collections/nlp/test_indexed_retrieval_dataset.py
# Copyright (c) 2022, NVIDIA CORPORATION. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appli...
gkucsko/NeMo
nemo/collections/nlp/models/nlp_model.py
# Copyright (c) 2021, NVIDIA CORPORATION. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appli...
gkucsko/NeMo
nemo/collections/nlp/modules/common/megatron/layer_type.py
<reponame>gkucsko/NeMo # Copyright (c) 2022, NVIDIA CORPORATION. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # U...
gkucsko/NeMo
scripts/nlp_language_modeling/build_knn_map_index.py
# Copyright (c) 2022, NVIDIA CORPORATION. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appli...
gkucsko/NeMo
examples/nlp/text_normalization_as_tagging/dataset_preparation/sample_each_label.py
<filename>examples/nlp/text_normalization_as_tagging/dataset_preparation/sample_each_label.py # Copyright (c) 2022, NVIDIA CORPORATION & AFFILIATES. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obta...
gkucsko/NeMo
nemo/collections/asr/losses/ssl_losses/mlm.py
<reponame>gkucsko/NeMo<gh_stars>0 # Copyright (c) 2022, NVIDIA CORPORATION. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENS...
gkucsko/NeMo
nemo/collections/nlp/data/language_modeling/megatron/request_dataset.py
# Copyright (c) 2021, NVIDIA CORPORATION. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appli...
gkucsko/NeMo
tests/core/mixins/adapters/test_adapter_strategy.py
# Copyright (c) 2022, NVIDIA CORPORATION. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appli...
gkucsko/NeMo
examples/nlp/language_modeling/megatron_gpt_prompt_learning.py
<filename>examples/nlp/language_modeling/megatron_gpt_prompt_learning.py # Copyright (c) 2022, NVIDIA CORPORATION. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # ...
gkucsko/NeMo
examples/nlp/dialogue/remove_ms_marco_samples_without_wellFormedAnswers.py
<filename>examples/nlp/dialogue/remove_ms_marco_samples_without_wellFormedAnswers.py # Copyright (c) 2022, NVIDIA CORPORATION & AFFILIATES. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy...
gkucsko/NeMo
nemo/collections/nlp/data/dialogue/data_processor/data_processor.py
# Copyright (c) 2022, NVIDIA CORPORATION & AFFILIATES. All rights reserved. # Copyright 2019 The Google Research Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.a...
gkucsko/NeMo
examples/nlp/language_modeling/megatron_t5_eval.py
<reponame>gkucsko/NeMo # Copyright (c) 2021, NVIDIA CORPORATION. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # U...
gkucsko/NeMo
scripts/dataset_processing/tts/ljspeech/get_data.py
# Copyright (c) 2022, NVIDIA CORPORATION. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appli...
gkucsko/NeMo
tests/collections/asr/test_ssl_models.py
<gh_stars>0 # Copyright (c) 2022, NVIDIA CORPORATION. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless requi...
gkucsko/NeMo
examples/nlp/text_normalization_as_tagging/evaluation/prepare_corpora_for_testing.py
# Copyright (c) 2022, NVIDIA CORPORATION & AFFILIATES. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless requ...
gkucsko/NeMo
nemo_text_processing/inverse_text_normalization/vi/verbalizers/date.py
<reponame>gkucsko/NeMo # Copyright (c) 2021, NVIDIA CORPORATION. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # U...
gkucsko/NeMo
tests/collections/asr/test_asr_modules.py
<reponame>gkucsko/NeMo<gh_stars>0 # Copyright (c) 2020, NVIDIA CORPORATION. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENS...
gkucsko/NeMo
nemo/collections/nlp/data/common/sequence_to_sequence_dataset.py
# Copyright (c) 2022, NVIDIA CORPORATION. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appli...
gkucsko/NeMo
examples/asr/asr_adapters/eval_asr_adapter.py
<reponame>gkucsko/NeMo # Copyright (c) 2020, NVIDIA CORPORATION. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # U...
gkucsko/NeMo
examples/nlp/text_normalization_as_tagging/evaluation/eval_per_class.py
<gh_stars>0 # Copyright (c) 2022, NVIDIA CORPORATION & AFFILIATES. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # #...
gkucsko/NeMo
nemo/collections/nlp/data/dialogue/dataset/dialogue_s2s_generation_dataset.py
# Copyright (c) 2022, NVIDIA CORPORATION & AFFILIATES. All rights reserved. # Copyright 2019 The Google Research Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.a...
gkucsko/NeMo
scripts/dataset_processing/get_hi-mia_data.py
<gh_stars>0 # Copyright (c) 2021, NVIDIA CORPORATION. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless requi...
gkucsko/NeMo
nemo/collections/nlp/models/dialogue/dialogue_zero_shot_intent_model.py
# Copyright 2018 The HuggingFace Inc. team. # Copyright (c) 2021, NVIDIA CORPORATION. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licen...
gkucsko/NeMo
nemo/collections/nlp/models/dialogue/dialogue_nearest_neighbour_model.py
# Copyright 2022 The HuggingFace Inc. team. # Copyright (c) 2022, NVIDIA CORPORATION. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licen...
gkucsko/NeMo
nemo/collections/nlp/data/dialogue/data_processor/mellon_qa_data_processor.py
<filename>nemo/collections/nlp/data/dialogue/data_processor/mellon_qa_data_processor.py<gh_stars>0 # Copyright (c) 2022, NVIDIA CORPORATION & AFFILIATES. All rights reserved. # Copyright 2019 The Google Research Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file ex...