<commit_before>import numpy as np



######
# Computes the viterbi path for a given sequence of lenght.
# N - Lenght of sequence
# H - Number of hidden states
# Receives:
# Node potentials (N,H) vector
# Edge potentials (N-1,H,H)
######
def viterbi(node_potentials,edge_potentials):
  # Implement your function here.<commit_msg>corrected small typo in our template for viterbi.<commit_after>import numpy as np



######
# Computes the viterbi path for a given sequence of lenght.
# N - Lenght of sequence
# H - Number of hidden states
# Receives:
# Node potentials (N,H) vector
# Edge potentials (N-1,H,H)
######
def viterbi(node_potentials,edge_potentials):
  # Implement your function here.
  pass
{'fraction_non_alphanumeric': 0.11301859799713877, 'fraction_numerical': 0.002861230329041488, 'mean_word_length': 4.555555555555555, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5971721', 'n_tokens_mistral': 237, 'n_tokens_neox': 222, 'n_words': 81}