Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# VS Code
.vscode/

.DS_Store

test-models/

# Exclude the Miner's and Validator's directory for saving the models.
Expand Down Expand Up @@ -173,3 +175,5 @@ cython_debug/
# and can be added to the global gitignore or merged into this file. For a more nuclear
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
#.idea/

run.sh
189 changes: 188 additions & 1 deletion constants/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class CompetitionParameters:
# Project Constants.
# ---------------------------------

__version__ = "0.2.7"
__version__ = "0.2.8"
version_split = __version__.split(".")
__spec_version__ = (
(1000 * int(version_split[0]))
Expand Down Expand Up @@ -72,6 +72,193 @@ class CompetitionParameters:
assert math.isclose(sum(x.reward_percentage for x in COMPETITION_SCHEDULE), 1.0)
assert all(len(x.competition_id) > 0 and len(x.competition_id) <= 2 for x in COMPETITION_SCHEDULE)

UNWANTED_PHRASES = [
"text-based AI language model",
"please refrain",
"it is never okay",
"It is important to",
"It's important to",
"real-world consequences",
"responsible AI",
"AI principles",
"AI assistant",
"an AI language",
"as a language model",
"as an AI language model",
"As a large language model",
"As an AI",
"ethical principles",
"it is not appropriate",
"it's not appropriate",
"I cannot fulfill your request",
"ethical guidelines",
"my guidelines",
"prioritize user safety",
"cannot provide guidance",
"cannot provide information",
"unable to offer assistance",
"cannot engage in discussions",
"programming prohibits",
"follow ethical guidelines",
"cannot support or promote",
"against my programming",
"not able to provide",
"cannot provide any information",
"an AI language model you don't have",
"As an AI language model, I cannot",
"As an AI language model, I do not",
"As an AI language model, I am not able",
"As an AI language model, I don't have personal",
"I am an AI language model and do not",
"However, it is important to use any code or information provided responsibly and within legal and ethical boundaries.",
"As an AI language model, I don't have",
"As an AI language model, I am only able",
"AI language model and I do not",
"As an AI language model, I cannot modify",
"As an AI language model, I do not",
"I know as an AI language model you don't have",
"as an AI language model, you cannot",
"I'm sorry, but as an AI language model",
"As an AI language model, I don't have",
"Unfortunately, I cannot provide",
"I'm sorry, I cannot",
"I'm sorry, I cannot generate",
"AI cannot create or program",
"I'm afraid I cannot create",
"I cannot assist",
"I'm sorry,",
"I'm an AI" ,
"I am an AI",
"my purpose",
"entertainment purposes",
"purely hypothetical",
"not a human",
"I am an AI",
"cannot provide",
"can't provide",
"won't provide",
"not provide",
"a language model",
"As a machine",
"I don't have the ability",
"I am here to assist",
"my purpose is to ",
"my knowledge cutoff",
"my knowledge cut off",
"September 2021",
"I apologize, but",
"It is not possible",
"Please note",
"not acceptable",
"*This chat conversation is shared from",
"*This conversation is shared from",
"<|endoftext|>",
"Я разработчик",
"I'm sorry, I cannot",
"breach of",
"privacy policy",
"I am programmed to",
"As a helpful assistant",
"I don't have beliefs",
"I don't have personal",
"I don't have a personal",
"I don't have emotions",
"I don't have the ability to feel",
"I don't have a physical",
"I don't have physical",
"I don't have the ability to remember",
"I don't have access to real-time",
"I don't have sensors or a physical body",
"I don't have sensory input",
"I don't have a sense",
"I don't have the capability to perceive",
"I don't have the capability to feel",
"I am an artificial intelligence",
"I don't have access to real-time",
"I don't have beliefs or disagreements",
"I do not have a sense of",
"I do not have beliefs",
"I do not have personal",
"I do not have a personal",
"I do not have emotions",
"I do not have the ability to feel",
"I do not have a physical",
"I do not have physical",
"I do not have the ability to remember",
"I do not have access to real-time",
"I do not have sensors or a physical body",
"I do not have sensory input",
"I do not have a sense",
"I do not have the capability to perceive",
"I do not have the capability to feel",
"I am an artificial intelligence",
"I do not have access to real-time",
"I do not have beliefs or disagreements",
"I do not have a sense of",
"September 2021",
"as a language model",
"ethical guidelines",
"as an AI language model",
"my guidelines",
"As an AI",
"cannot provide guidance",
"cannot provide information",
"unable to offer assistance",
"cannot engage in discussions",
"programming prohibits",
"cannot support or promote",
"activities that could harm",
"against my programming",
"activities that could undermine",
"not within the scope",
"designed to prioritize safety",
"not able to provide",
"maintain user safety",
"adhere to safety guidelines",
"dangerous or harmful",
"cannot provide any information",
"focus on promoting safety",
"maintain user safety",
"focus on promoting safety",
"it is never okay",
"September 2021",
"as a language model",
"ethical guidelines",
"as an AI language model",
"my guidelines",
"As an AI",
"prioritize user safety",
"adhere to ethical guidelines",
"promote safety",
"responsible information sharing",
"jeopardize the safety",
"safe information",
"cannot provide guidance",
"cannot provide information",
"unable to offer assistance",
"cannot engage in discussions",
"programming prohibits",
"prioritize safety",
"cannot support or promote",
"activities that could harm",
"against my programming",
"potentially dangerous",
"not within the scope",
"not able to provide",
"cannot provide any information",
"I don't have beliefs"
"I don't have personal"
"gpt",
"gpT",
"gPt",
"Gpt",
"gPT",
"GpT",
"GPt",
"GPT",
"gpt"
]

# ---------------------------------
# Miner/Validator Model parameters.
# ---------------------------------
Expand Down
10 changes: 0 additions & 10 deletions finetune/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,6 @@
# OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
# DEALINGS IN THE SOFTWARE.

__version__ = "0.2.7"


version_split = __version__.split(".")
__spec_version__ = (
(1000 * int(version_split[0]))
+ (10 * int(version_split[1]))
+ (1 * int(version_split[2]))
)

from . import dataset
from . import graph
from . import mining
Expand Down
Loading