Skip to content

Instantly share code, notes, and snippets.

View SKRohit's full-sized avatar
🎯
Focusing

Rohit Kumar Singh SKRohit

🎯
Focusing
View GitHub Profile
@SKRohit
SKRohit / modified_run_squad.py
Created November 10, 2020 02:36
Modified run_squad.py script in transformers library to use less RAM for feature creation
# coding=utf-8
# Copyright 2018 The Google AI Language Team Authors and The HuggingFace Inc. team.
# Copyright (c) 2018, 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
#